Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 196.8 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.308/1.308, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008996/0.0008997, allocations: 91.69 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1901/0.1901, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.057e-05, allocations: 4 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 63.24 MB / 0.5115 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3902/0.4997, allocations: 101.5 MB / 0.6106 GB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.5, allocations: 95.38 kB / 0.6107 GB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06212/0.5621, allocations: 24.84 MB / 0.635 GB, free: 2.812 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5622, allocations: 0 / 0.635 GB, free: 2.812 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.5622, allocations: 8 kB / 0.635 GB, free: 2.805 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001048/0.5633, allocations: 0.7461 MB / 0.6357 GB, free: 2.047 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.5633, allocations: 8.031 kB / 0.6357 GB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.928e-05/0.5634, allocations: 103.8 kB / 0.6358 GB, free: 1.965 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/0.5638, allocations: 103.2 kB / 0.6359 GB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.5642, allocations: 303.2 kB / 0.6362 GB, free: 1.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.5643, allocations: 39.44 kB / 0.6362 GB, free: 1.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.5643, allocations: 61.09 kB / 0.6363 GB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009488/0.5653, allocations: 0.7249 MB / 0.637 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.5653, allocations: 0 / 0.637 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.5654, allocations: 32.38 kB / 0.637 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-05/0.5654, allocations: 29.3 kB / 0.6371 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006467/0.5661, allocations: 0.4886 MB / 0.6375 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.5683, allocations: 1.692 MB / 0.6392 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.5687, allocations: 278.3 kB / 0.6394 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.5689, allocations: 121.4 kB / 0.6396 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/0.569, allocations: 15.92 kB / 0.6396 GB, free: 14.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.569, allocations: 34.52 kB / 0.6396 GB, free: 14.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/0.569, allocations: 0 / 0.6396 GB, free: 14.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006509/0.5697, allocations: 315 kB / 0.6399 GB, free: 14.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.5697, allocations: 110.6 kB / 0.64 GB, free: 14.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005976/0.5703, allocations: 0.5734 MB / 0.6406 GB, free: 13.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.5704, allocations: 29.64 kB / 0.6406 GB, free: 13.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.5705, allocations: 283.7 kB / 0.6409 GB, free: 13.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.5706, allocations: 78.55 kB / 0.6409 GB, free: 13.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.5706, allocations: 7.438 kB / 0.641 GB, free: 13.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5708, allocations: 358.2 kB / 0.6413 GB, free: 13.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.571, allocations: 160.2 kB / 0.6415 GB, free: 12.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.5714, allocations: 432.3 kB / 0.6419 GB, free: 12.37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.5718, allocations: 239.5 kB / 0.6421 GB, free: 12.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.5718, allocations: 4 kB / 0.6421 GB, free: 12.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009056/0.5727, allocations: 0.6273 MB / 0.6427 GB, free: 11.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5727, allocations: 12 kB / 0.6427 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.61e-05/0.5728, allocations: 47.92 kB / 0.6428 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.5728, allocations: 20 kB / 0.6428 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.5731, allocations: 76.14 kB / 0.6429 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.5731, allocations: 27.86 kB / 0.6429 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.5735, allocations: 86.94 kB / 0.643 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.5736, allocations: 39.73 kB / 0.643 GB, free: 11.31 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * 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.0001325/0.5737, allocations: 155.5 kB / 0.6432 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.983e-05/0.5738, allocations: 47.34 kB / 0.6432 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007837/0.5746, allocations: 448.7 kB / 0.6436 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.5746, allocations: 11.95 kB / 0.6436 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5747, allocations: 3.984 kB / 0.6436 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5747, allocations: 7.938 kB / 0.6436 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/0.5752, allocations: 410.6 kB / 0.644 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-05/0.5753, allocations: 39.97 kB / 0.6441 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.5754, allocations: 27.97 kB / 0.6441 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.5754, allocations: 0 / 0.6441 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.5755, allocations: 23.48 kB / 0.6441 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5755, allocations: 4 kB / 0.6441 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5755, allocations: 3.953 kB / 0.6441 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006328/0.5761, allocations: 0.578 MB / 0.6447 GB, free: 9.621 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.5763, allocations: 136.4 kB / 0.6448 GB, free: 9.469 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/0.5763, allocations: 7.75 kB / 0.6448 GB, free: 9.465 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.5766, allocations: 23.97 kB / 0.6449 GB, free: 9.441 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.5767, allocations: 23.81 kB / 0.6449 GB, free: 9.422 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.5768, allocations: 15.98 kB / 0.6449 GB, free: 9.406 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004354/0.5772, allocations: 438.6 kB / 0.6453 GB, free: 9.066 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5772, allocations: 4 kB / 0.6453 GB, free: 9.062 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007977/0.578, allocations: 210.9 kB / 0.6455 GB, free: 8.875 MB / 442.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.001317/0.5793, allocations: 1.472 MB / 0.647 GB, free: 7.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007601/0.5801, allocations: 0.6875 MB / 0.6476 GB, free: 6.699 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5801, allocations: 192 / 0.6476 GB, free: 6.699 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.5805, allocations: 458.1 kB / 0.6481 GB, free: 6.195 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.581, allocations: 118.5 kB / 0.6482 GB, free: 6.105 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.5828, allocations: 0.9269 MB / 0.6491 GB, free: 5.203 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.5833, allocations: 0.9084 MB / 0.65 GB, free: 4.281 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003015/0.5836, allocations: 132.5 kB / 0.6501 GB, free: 4.148 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.5837, allocations: 139.9 kB / 0.6502 GB, free: 4.105 MB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5837, allocations: 4 kB / 0.6502 GB, free: 4.102 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.6114, allocations: 15.41 MB / 0.6653 GB, free: 4.938 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.6116, allocations: 199.1 kB / 0.6655 GB, free: 4.711 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/2.769, allocations: 0 / 0.6655 GB, free: 4.711 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat