Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009759/0.0009759, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008671/0.0008669, allocations: 94.61 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1795/0.1795, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.638e-05, allocations: 4 kB / 460.5 MB, free: 69.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 63.24 MB / 0.5115 GB, free: 6.668 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5286, allocations: 95.98 MB / 0.6052 GB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.5289, allocations: 96.44 kB / 0.6053 GB, free: 13.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03189/0.5608, allocations: 12.73 MB / 0.6177 GB, free: 2.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.5609, allocations: 0 / 0.6177 GB, free: 2.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.5609, allocations: 11.94 kB / 0.6178 GB, free: 2.602 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008791/0.5618, allocations: 0.6598 MB / 0.6184 GB, free: 1.922 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.5618, allocations: 8.031 kB / 0.6184 GB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.562, allocations: 92.02 kB / 0.6185 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000408/0.5624, allocations: 99.28 kB / 0.6186 GB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.5628, allocations: 287.2 kB / 0.6189 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.5629, allocations: 34.31 kB / 0.6189 GB, free: 1.418 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-05/0.563, allocations: 43.56 kB / 0.6189 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008701/0.5638, allocations: 0.6172 MB / 0.6195 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5639, allocations: 3.938 kB / 0.6195 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.941e-05/0.5639, allocations: 17.12 kB / 0.6196 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.564, allocations: 32.17 kB / 0.6196 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.5645, allocations: 424.9 kB / 0.62 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.5666, allocations: 1.541 MB / 0.6215 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.567, allocations: 264.8 kB / 0.6217 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.5672, allocations: 129.1 kB / 0.6219 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.5673, allocations: 11.98 kB / 0.6219 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.5673, allocations: 37.88 kB / 0.6219 GB, free: 14.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.195e-06/0.5673, allocations: 0 / 0.6219 GB, free: 14.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.000629/0.568, allocations: 314.9 kB / 0.6222 GB, free: 14.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.568, allocations: 102.8 kB / 0.6223 GB, free: 14.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.5686, allocations: 498 kB / 0.6228 GB, free: 13.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.5686, allocations: 29.14 kB / 0.6228 GB, free: 13.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.5688, allocations: 233.3 kB / 0.623 GB, free: 13.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.5688, allocations: 66.27 kB / 0.6231 GB, free: 13.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.5689, allocations: 10.5 kB / 0.6231 GB, free: 13.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.569, allocations: 356.1 kB / 0.6235 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.5692, allocations: 128.3 kB / 0.6236 GB, free: 13.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.5695, allocations: 244 kB / 0.6238 GB, free: 12.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.5698, allocations: 165.2 kB / 0.624 GB, free: 12.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5698, allocations: 4 kB / 0.624 GB, free: 12.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006938/0.5705, allocations: 446.3 kB / 0.6244 GB, free: 12.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.5705, allocations: 4 kB / 0.6244 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.167e-05/0.5706, allocations: 43.03 kB / 0.6244 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5706, allocations: 7.938 kB / 0.6245 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.5709, allocations: 47.89 kB / 0.6245 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.5709, allocations: 12.23 kB / 0.6245 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.5713, allocations: 77.66 kB / 0.6246 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.5713, allocations: 16 kB / 0.6246 GB, free: 12.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001302/0.5715, allocations: 130 kB / 0.6247 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-05/0.5716, allocations: 39.44 kB / 0.6248 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007492/0.5723, allocations: 427.8 kB / 0.6252 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.5723, allocations: 8 kB / 0.6252 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.5724, allocations: 3.984 kB / 0.6252 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5724, allocations: 3.953 kB / 0.6252 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.573, allocations: 385.3 kB / 0.6256 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.615e-05/0.573, allocations: 35.95 kB / 0.6256 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.5732, allocations: 35.97 kB / 0.6256 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5732, allocations: 0 / 0.6256 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.5733, allocations: 11.06 kB / 0.6256 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5733, allocations: 4 kB / 0.6256 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5733, allocations: 3.984 kB / 0.6256 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.5739, allocations: 0.5803 MB / 0.6262 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.5741, allocations: 120.5 kB / 0.6263 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.5741, allocations: 7.438 kB / 0.6263 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.5744, allocations: 19.98 kB / 0.6263 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.5745, allocations: 23.47 kB / 0.6264 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.5745, allocations: 11.98 kB / 0.6264 GB, free: 10.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003849/0.5749, allocations: 396.6 kB / 0.6268 GB, free: 10.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5749, allocations: 0 / 0.6268 GB, free: 10.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006175/0.5756, allocations: 141.2 kB / 0.6269 GB, free: 9.934 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001204/0.5768, allocations: 1.367 MB / 0.6282 GB, free: 8.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007079/0.5775, allocations: 0.6109 MB / 0.6288 GB, free: 7.922 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5775, allocations: 0 / 0.6288 GB, free: 7.922 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.5779, allocations: 463.3 kB / 0.6293 GB, free: 7.414 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.5786, allocations: 107.5 kB / 0.6294 GB, free: 7.336 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.5804, allocations: 0.8146 MB / 0.6302 GB, free: 6.539 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.5808, allocations: 0.8769 MB / 0.631 GB, free: 5.645 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002521/0.5811, allocations: 91.28 kB / 0.6311 GB, free: 5.551 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.5812, allocations: 121 kB / 0.6312 GB, free: 5.512 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5812, allocations: 0 / 0.6312 GB, free: 5.512 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.6074, allocations: 12.6 MB / 0.6435 GB, free: 9.156 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.6076, allocations: 200.3 kB / 0.6437 GB, free: 8.926 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.725, allocations: 2.5 kB / 0.6437 GB, free: 8.926 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat