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.00247/0.00247, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001644/0.001644, allocations: 94.05 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5216/0.5216, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004737, allocations: 12 kB / 431.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1314, allocations: 58.83 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5231/0.6545, allocations: 93.73 MB / 0.5704 GB, free: 8.871 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005087/0.6551, allocations: 100.9 kB / 0.5705 GB, free: 8.777 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0696/0.7247, allocations: 10.79 MB / 0.581 GB, free: 13.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.535e-06/0.7248, allocations: 0 / 0.581 GB, free: 13.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.532e-05/0.7249, allocations: 7.938 kB / 0.581 GB, free: 13.86 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002085/0.727, allocations: 0.6547 MB / 0.5817 GB, free: 13.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.489e-05/0.727, allocations: 8.562 kB / 0.5817 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002355/0.7273, allocations: 82.53 kB / 0.5817 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.7275, allocations: 46.81 kB / 0.5818 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007562/0.7283, allocations: 290.2 kB / 0.5821 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.347e-05/0.7284, allocations: 29 kB / 0.5821 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.7285, allocations: 36 kB / 0.5821 GB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.7311, allocations: 0.5816 MB / 0.5827 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.7312, allocations: 4 kB / 0.5827 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.7313, allocations: 17.03 kB / 0.5827 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.579e-05/0.7314, allocations: 21 kB / 0.5827 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002624/0.734, allocations: 451.5 kB / 0.5832 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005116/0.7392, allocations: 1.402 MB / 0.5845 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.7409, allocations: 283.5 kB / 0.5848 GB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.485e-05/0.741, allocations: 8 kB / 0.5848 GB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.217e-05/0.7411, allocations: 42.5 kB / 0.5849 GB, free: 9.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 8.296e-06/0.7411, allocations: 3.984 kB / 0.5849 GB, free: 9.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.003814/0.7449, allocations: 0.712 MB / 0.5856 GB, free: 8.941 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.7451, allocations: 106.8 kB / 0.5857 GB, free: 8.812 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.7466, allocations: 461.1 kB / 0.5861 GB, free: 8.359 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.604e-05/0.7467, allocations: 25.7 kB / 0.5861 GB, free: 8.328 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.747, allocations: 238.6 kB / 0.5863 GB, free: 8.094 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.7472, allocations: 63.09 kB / 0.5864 GB, free: 8.031 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.7472, allocations: 0 / 0.5864 GB, free: 8.031 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.7474, allocations: 326.8 kB / 0.5867 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/0.7481, allocations: 140 kB / 0.5869 GB, free: 7.562 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.7487, allocations: 174 kB / 0.587 GB, free: 7.375 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.7494, allocations: 155.7 kB / 0.5872 GB, free: 7.227 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.7494, allocations: 4 kB / 0.5872 GB, free: 7.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001529/0.7509, allocations: 373.3 kB / 0.5875 GB, free: 6.852 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.751, allocations: 4.75 kB / 0.5875 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/0.7511, allocations: 31.98 kB / 0.5876 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.7511, allocations: 112 / 0.5876 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.7515, allocations: 51.83 kB / 0.5876 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.7516, allocations: 7.953 kB / 0.5876 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.7521, allocations: 63.39 kB / 0.5877 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.7522, allocations: 19.98 kB / 0.5877 GB, free: 6.676 MB / 410.7 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 () * Number of clocked 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.0003554/0.7525, allocations: 177.8 kB / 0.5879 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.7527, allocations: 43.47 kB / 0.5879 GB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.7541, allocations: 397.8 kB / 0.5883 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-05/0.7542, allocations: 7.984 kB / 0.5883 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.7542, allocations: 0 / 0.5883 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.7542, allocations: 7.953 kB / 0.5883 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008981/0.7551, allocations: 349.4 kB / 0.5886 GB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001003/0.7552, allocations: 31.97 kB / 0.5887 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.7555, allocations: 31.97 kB / 0.5887 GB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.7556, allocations: 0 / 0.5887 GB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.7556, allocations: 12 kB / 0.5887 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.7556, allocations: 3.984 kB / 0.5887 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7556, allocations: 0 / 0.5887 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.7572, allocations: 0.6248 MB / 0.5893 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.7575, allocations: 120.6 kB / 0.5894 GB, free: 4.789 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.902e-05/0.7576, allocations: 7.984 kB / 0.5894 GB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004892/0.7581, allocations: 27.94 kB / 0.5895 GB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.7582, allocations: 23.97 kB / 0.5895 GB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.7583, allocations: 8 kB / 0.5895 GB, free: 4.723 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007231/0.759, allocations: 371 kB / 0.5899 GB, free: 4.359 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.759, allocations: 0 / 0.5899 GB, free: 4.359 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008342/0.7599, allocations: 135.8 kB / 0.59 GB, free: 4.227 MB / 410.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 () * Number of clocked 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.002483/0.7624, allocations: 1.404 MB / 0.5914 GB, free: 2.789 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.7641, allocations: 0.5419 MB / 0.5919 GB, free: 2.191 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.7642, allocations: 0 / 0.5919 GB, free: 2.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.765, allocations: 399.4 kB / 0.5923 GB, free: 1.746 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/0.7659, allocations: 89 kB / 0.5924 GB, free: 1.664 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007967/0.7739, allocations: 3.592 MB / 0.5959 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000618/0.7746, allocations: 0.846 MB / 0.5967 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.7749, allocations: 107.4 kB / 0.5968 GB, free: 13.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7749, allocations: 3.938 kB / 0.5968 GB, free: 13.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.66/3.435, allocations: 9.055 MB / 0.6056 GB, free: 3.969 MB / 426.7 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