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_overall.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_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",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.002251/0.002251, allocations: 180.2 kB / 13.65 MB, free: 1.66 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.179/2.179, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001086/0.001085, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2853/0.2853, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.355e-05/4.369e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1678, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6062/0.7741, allocations: 98.25 MB / 0.5689 GB, free: 5.262 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003629/0.7745, allocations: 89.88 kB / 0.5689 GB, free: 5.211 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07261/0.8471, allocations: 15.31 MB / 0.5839 GB, free: 7.898 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.8472, allocations: 3.938 kB / 0.5839 GB, free: 7.895 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2e-05/0.8472, allocations: 4 kB / 0.5839 GB, free: 7.891 MB / 394.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.001469/0.8487, allocations: 0.6673 MB / 0.5846 GB, free: 7.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.8487, allocations: 11.97 kB / 0.5846 GB, free: 7.195 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/0.8489, allocations: 86.39 kB / 0.5846 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.849, allocations: 47.39 kB / 0.5847 GB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00059/0.8496, allocations: 297.2 kB / 0.585 GB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.8497, allocations: 29.34 kB / 0.585 GB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/0.8498, allocations: 39.05 kB / 0.585 GB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.851, allocations: 0.5432 MB / 0.5856 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.8511, allocations: 0 / 0.5856 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/0.8511, allocations: 21.8 kB / 0.5856 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-05/0.8512, allocations: 16.78 kB / 0.5856 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009021/0.8521, allocations: 370.1 kB / 0.586 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003082/0.8552, allocations: 1.407 MB / 0.5873 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.8559, allocations: 254.8 kB / 0.5876 GB, free: 4.426 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.8562, allocations: 109.2 kB / 0.5877 GB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.566e-05/0.8563, allocations: 7.984 kB / 0.5877 GB, free: 4.312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.8563, allocations: 38.25 kB / 0.5877 GB, free: 4.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.286e-06/0.8563, allocations: 0 / 0.5877 GB, free: 4.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009597/0.8573, allocations: 287.8 kB / 0.588 GB, free: 4.004 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.8574, allocations: 106.8 kB / 0.5881 GB, free: 3.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009194/0.8583, allocations: 498 kB / 0.5886 GB, free: 3.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.8584, allocations: 29.64 kB / 0.5886 GB, free: 3.441 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.8586, allocations: 242.6 kB / 0.5888 GB, free: 3.266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.8587, allocations: 63.83 kB / 0.5889 GB, free: 3.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.8587, allocations: 0 / 0.5889 GB, free: 3.215 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8589, allocations: 324.3 kB / 0.5892 GB, free: 2.895 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.8592, allocations: 100.8 kB / 0.5893 GB, free: 2.801 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.8596, allocations: 140.8 kB / 0.5894 GB, free: 2.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.86, allocations: 113.8 kB / 0.5895 GB, free: 2.559 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.86, allocations: 0 / 0.5895 GB, free: 2.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009027/0.8609, allocations: 291.6 kB / 0.5898 GB, free: 2.297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.8609, allocations: 11.44 kB / 0.5898 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.914e-05/0.861, allocations: 23.98 kB / 0.5899 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.8611, allocations: 4 kB / 0.5899 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.8615, allocations: 55 kB / 0.5899 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.8615, allocations: 0 / 0.5899 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/0.8621, allocations: 63.44 kB / 0.59 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.8622, allocations: 14.62 kB / 0.59 GB, free: 2.137 MB / 394.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 () * 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.0001309/0.8623, allocations: 104.2 kB / 0.5901 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.8625, allocations: 50.88 kB / 0.5901 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.8637, allocations: 368.3 kB / 0.5905 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.8637, allocations: 0 / 0.5905 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.8637, allocations: 11.95 kB / 0.5905 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.8637, allocations: 3.984 kB / 0.5905 GB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008513/0.8646, allocations: 374 kB / 0.5909 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.315e-05/0.8647, allocations: 27.97 kB / 0.5909 GB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.865, allocations: 31.97 kB / 0.5909 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.865, allocations: 4 kB / 0.5909 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.8651, allocations: 7 kB / 0.5909 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.8651, allocations: 4 kB / 0.5909 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8651, allocations: 0 / 0.5909 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009722/0.8661, allocations: 0.5446 MB / 0.5915 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.8664, allocations: 166.4 kB / 0.5916 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.531e-05/0.8665, allocations: 7.391 kB / 0.5916 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.8671, allocations: 27.97 kB / 0.5917 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.907e-05/0.8672, allocations: 23.34 kB / 0.5917 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/0.8673, allocations: 8 kB / 0.5917 GB, free: 428 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007238/0.868, allocations: 404 kB / 0.5921 GB, free: 108 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.868, allocations: 0 / 0.5921 GB, free: 108 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009446/0.869, allocations: 161.8 kB / 0.5922 GB, free: 15.95 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 () * 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.002016/0.871, allocations: 1.397 MB / 0.5936 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009611/0.872, allocations: 469.6 kB / 0.594 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.872, allocations: 0 / 0.594 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005338/0.8726, allocations: 360.4 kB / 0.5944 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008468/0.8734, allocations: 97.45 kB / 0.5945 GB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.8762, allocations: 0.7902 MB / 0.5952 GB, free: 12.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.8768, allocations: 0.8621 MB / 0.5961 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.8771, allocations: 115.1 kB / 0.5962 GB, free: 11.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.8771, allocations: 0 / 0.5962 GB, free: 11.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.727/3.604, allocations: 9.916 MB / 0.6059 GB, free: 2.027 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.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_overall_res.mat does not exist to compare? outputFormat=mat