Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.00152, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 93.92 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3095/0.3095, allocations: 43.5 MB / 353.6 MB, free: 2.25 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.16e-05, allocations: 4.219 kB / 418.4 MB, free: 40.91 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.414, allocations: 58.84 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1759/0.59, allocations: 92.98 MB / 0.5568 GB, free: 6.203 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/0.5904, allocations: 95.94 kB / 0.5569 GB, free: 6.109 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05013/0.6405, allocations: 10.65 MB / 0.5673 GB, free: 11.3 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6406, allocations: 0 / 0.5673 GB, free: 11.3 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.957e-05/0.6406, allocations: 11.94 kB / 0.5673 GB, free: 11.29 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001401/0.642, allocations: 0.6159 MB / 0.5679 GB, free: 10.62 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.6421, allocations: 8.031 kB / 0.5679 GB, free: 10.62 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.6423, allocations: 47.44 kB / 0.568 GB, free: 10.57 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/0.6429, allocations: 294.2 kB / 0.5683 GB, free: 10.24 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.6429, allocations: 12 kB / 0.5683 GB, free: 10.23 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.293e-05/0.643, allocations: 24 kB / 0.5683 GB, free: 10.21 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008707/0.6439, allocations: 325.9 kB / 0.5686 GB, free: 9.891 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.6451, allocations: 498.5 kB / 0.5691 GB, free: 9.387 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.6451, allocations: 0 / 0.5691 GB, free: 9.387 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.6452, allocations: 0 / 0.5691 GB, free: 9.387 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.049e-05/0.6453, allocations: 32.77 kB / 0.5691 GB, free: 9.355 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.6484, allocations: 1.233 MB / 0.5703 GB, free: 8.07 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.649, allocations: 239.6 kB / 0.5705 GB, free: 7.809 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.6493, allocations: 107.3 kB / 0.5706 GB, free: 7.695 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.575e-05/0.6494, allocations: 11.98 kB / 0.5707 GB, free: 7.684 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.6495, allocations: 34.5 kB / 0.5707 GB, free: 7.641 MB / 411.1 MB Notification: Performance of pre-optimization done (n=17): time 2.915e-06/0.6495, allocations: 4 kB / 0.5707 GB, free: 7.637 MB / 411.1 MB Notification: Performance of matching and sorting (n=17): time 0.000899/0.6504, allocations: 249.3 kB / 0.5709 GB, free: 7.387 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.218e-05/0.6505, allocations: 110.7 kB / 0.571 GB, free: 7.254 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.6508, allocations: 187.1 kB / 0.5712 GB, free: 7.062 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.6509, allocations: 29.77 kB / 0.5712 GB, free: 7.027 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.6511, allocations: 282.4 kB / 0.5715 GB, free: 6.75 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/0.6512, allocations: 59.11 kB / 0.5716 GB, free: 6.691 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.6513, allocations: 0 / 0.5716 GB, free: 6.691 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6514, allocations: 318.8 kB / 0.5719 GB, free: 6.371 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.6517, allocations: 92.11 kB / 0.572 GB, free: 6.277 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.6521, allocations: 141.4 kB / 0.5721 GB, free: 6.121 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.6525, allocations: 107.9 kB / 0.5722 GB, free: 6.016 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6525, allocations: 0 / 0.5722 GB, free: 6.016 MB / 411.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008634/0.6534, allocations: 281.3 kB / 0.5725 GB, free: 5.734 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.6534, allocations: 4.156 kB / 0.5725 GB, free: 5.73 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001284/0.6535, allocations: 31.97 kB / 0.5725 GB, free: 5.699 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.6536, allocations: 4 kB / 0.5725 GB, free: 5.695 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.654, allocations: 43.97 kB / 0.5725 GB, free: 5.652 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.654, allocations: 7.938 kB / 0.5726 GB, free: 5.645 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.6544, allocations: 39.77 kB / 0.5726 GB, free: 5.605 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/0.6545, allocations: 12 kB / 0.5726 GB, free: 5.594 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * 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.0001637/0.6547, allocations: 104.9 kB / 0.5727 GB, free: 5.484 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008538/0.6555, allocations: 256.4 kB / 0.5729 GB, free: 5.23 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.6557, allocations: 15.81 kB / 0.573 GB, free: 5.215 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.6567, allocations: 335.2 kB / 0.5733 GB, free: 4.879 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.6568, allocations: 8 kB / 0.5733 GB, free: 4.871 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.6568, allocations: 3.953 kB / 0.5733 GB, free: 4.867 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.6568, allocations: 3.984 kB / 0.5733 GB, free: 4.863 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008321/0.6577, allocations: 329.9 kB / 0.5736 GB, free: 4.504 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.851e-05/0.6578, allocations: 23.98 kB / 0.5736 GB, free: 4.48 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.6581, allocations: 31.97 kB / 0.5737 GB, free: 4.449 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.6581, allocations: 0 / 0.5737 GB, free: 4.449 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/0.6582, allocations: 11.98 kB / 0.5737 GB, free: 4.438 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.6582, allocations: 4 kB / 0.5737 GB, free: 4.434 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.6582, allocations: 0 / 0.5737 GB, free: 4.434 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009824/0.6592, allocations: 0.5208 MB / 0.5742 GB, free: 3.883 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.6593, allocations: 96.92 kB / 0.5743 GB, free: 3.77 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.563e-05/0.6594, allocations: 0 / 0.5743 GB, free: 3.77 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/0.6599, allocations: 27.92 kB / 0.5743 GB, free: 3.742 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.66, allocations: 19.98 kB / 0.5743 GB, free: 3.723 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.66, allocations: 11.98 kB / 0.5743 GB, free: 3.711 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.6603, allocations: 145.5 kB / 0.5745 GB, free: 3.57 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6603, allocations: 4 kB / 0.5745 GB, free: 3.566 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008917/0.6612, allocations: 143.5 kB / 0.5746 GB, free: 3.426 MB / 411.1 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.00182/0.663, allocations: 1.29 MB / 0.5759 GB, free: 2.105 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0009809/0.664, allocations: 463 kB / 0.5763 GB, free: 1.598 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.6641, allocations: 0 / 0.5763 GB, free: 1.598 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.6646, allocations: 355.2 kB / 0.5767 GB, free: 1.195 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.6652, allocations: 44.19 kB / 0.5767 GB, free: 1.152 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.6679, allocations: 0.6728 MB / 0.5774 GB, free: 436 kB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/0.6687, allocations: 0.8605 MB / 0.5782 GB, free: 15.54 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.669, allocations: 99.39 kB / 0.5783 GB, free: 15.44 MB / 427.1 MB Notification: Performance of SimCode: time 1.293e-06/0.669, allocations: 7.938 kB / 0.5783 GB, free: 15.43 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.525/3.193, allocations: 7.087 MB / 0.5852 GB, free: 8.348 MB / 427.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat