Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.5 MB / 230.7 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008705/0.0008705, allocations: 88.61 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 44.14 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.397e-05/2.409e-05, allocations: 4 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1494, allocations: 61.92 MB / 0.4948 GB, free: 1.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4393/0.5887, allocations: 94.44 MB / 0.587 GB, free: 1.953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.5891, allocations: 99.92 kB / 0.5871 GB, free: 1.855 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03822/0.6273, allocations: 13.88 MB / 0.6007 GB, free: 3.887 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6274, allocations: 0 / 0.6007 GB, free: 3.887 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.6275, allocations: 7.938 kB / 0.6007 GB, free: 3.879 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001244/0.6287, allocations: 0.6269 MB / 0.6013 GB, free: 3.207 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.873e-05/0.6288, allocations: 15.98 kB / 0.6013 GB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.96e-05/0.6289, allocations: 39.53 kB / 0.6013 GB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.6294, allocations: 287.2 kB / 0.6016 GB, free: 2.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.6294, allocations: 12 kB / 0.6016 GB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.6294, allocations: 31.94 kB / 0.6016 GB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005683/0.63, allocations: 321.9 kB / 0.602 GB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/0.6308, allocations: 477.8 kB / 0.6024 GB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.6308, allocations: 0 / 0.6024 GB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.6309, allocations: 0 / 0.6024 GB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.6309, allocations: 20.78 kB / 0.6024 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.6327, allocations: 1.151 MB / 0.6036 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.6332, allocations: 271.6 kB / 0.6038 GB, free: 480 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.6334, allocations: 118.5 kB / 0.6039 GB, free: 352 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.8e-05/0.6334, allocations: 19.92 kB / 0.6039 GB, free: 332 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.6335, allocations: 34.56 kB / 0.604 GB, free: 288 kB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.824e-06/0.6335, allocations: 0 / 0.604 GB, free: 288 kB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006819/0.6342, allocations: 286.7 kB / 0.6043 GB, free: 15.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/0.6343, allocations: 106.8 kB / 0.6044 GB, free: 15.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.6346, allocations: 200.4 kB / 0.6045 GB, free: 15.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.6346, allocations: 29.7 kB / 0.6046 GB, free: 15.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.6348, allocations: 223.9 kB / 0.6048 GB, free: 15.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.6349, allocations: 55.2 kB / 0.6048 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.6349, allocations: 0 / 0.6048 GB, free: 15.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.6351, allocations: 338.9 kB / 0.6052 GB, free: 15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.6353, allocations: 108.1 kB / 0.6053 GB, free: 14.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.6355, allocations: 192.8 kB / 0.6055 GB, free: 14.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.6358, allocations: 138.3 kB / 0.6056 GB, free: 14.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6358, allocations: 7.938 kB / 0.6056 GB, free: 14.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005568/0.6363, allocations: 344.9 kB / 0.6059 GB, free: 14.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.6364, allocations: 8 kB / 0.6059 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-05/0.6364, allocations: 31.97 kB / 0.606 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.6365, allocations: 4 kB / 0.606 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.6367, allocations: 44.25 kB / 0.606 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.6367, allocations: 8 kB / 0.606 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.6369, allocations: 31.88 kB / 0.606 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.637, allocations: 12 kB / 0.6061 GB, free: 14.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.6371, allocations: 126 kB / 0.6062 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005016/0.6376, allocations: 289.2 kB / 0.6064 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.6377, allocations: 19.72 kB / 0.6065 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006401/0.6384, allocations: 375.4 kB / 0.6068 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.6384, allocations: 4 kB / 0.6068 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6384, allocations: 0 / 0.6068 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6384, allocations: 0 / 0.6068 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005622/0.639, allocations: 345.8 kB / 0.6072 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.423e-05/0.639, allocations: 27.98 kB / 0.6072 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.6392, allocations: 36 kB / 0.6072 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6392, allocations: 0 / 0.6072 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.6393, allocations: 11.98 kB / 0.6072 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6393, allocations: 3.938 kB / 0.6072 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6393, allocations: 0 / 0.6072 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006094/0.6399, allocations: 0.5513 MB / 0.6078 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.64, allocations: 96.91 kB / 0.6079 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.64, allocations: 0 / 0.6079 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.6403, allocations: 19.98 kB / 0.6079 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.6404, allocations: 27.97 kB / 0.6079 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.6404, allocations: 12 kB / 0.6079 GB, free: 12.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.6406, allocations: 160.4 kB / 0.6081 GB, free: 11.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6406, allocations: 0 / 0.6081 GB, free: 11.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007486/0.6413, allocations: 147.5 kB / 0.6082 GB, free: 11.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001409/0.6427, allocations: 1.332 MB / 0.6095 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000643/0.6434, allocations: 499.6 kB / 0.61 GB, free: 9.824 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.6434, allocations: 0 / 0.61 GB, free: 9.824 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.6438, allocations: 379.1 kB / 0.6104 GB, free: 9.398 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.6441, allocations: 24.36 kB / 0.6104 GB, free: 9.375 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.6457, allocations: 0.6416 MB / 0.611 GB, free: 8.691 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.6462, allocations: 0.8645 MB / 0.6118 GB, free: 7.801 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.6463, allocations: 33.3 kB / 0.6119 GB, free: 7.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.6465, allocations: 103.4 kB / 0.612 GB, free: 7.668 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6465, allocations: 0 / 0.612 GB, free: 7.668 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.6783, allocations: 7.118 MB / 0.6189 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/0.6786, allocations: 192.5 kB / 0.6191 GB, free: 376 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.642, allocations: 0 / 0.6191 GB, free: 376 kB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat