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.001447/0.001447, 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 1.99/1.99, 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.001128/0.001128, allocations: 94.62 kB / 262.1 MB, free: 13.87 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.305/0.305, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.569e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4072, allocations: 58.85 MB / 477.2 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.6078, allocations: 97.59 MB / 0.5613 GB, free: 1.672 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/0.6082, allocations: 91.94 kB / 0.5614 GB, free: 1.582 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.076/0.6842, allocations: 15.11 MB / 0.5762 GB, free: 2.312 MB / 411.1 MB Notification: Performance of FrontEnd: time 3.586e-06/0.6843, allocations: 3.938 kB / 0.5762 GB, free: 2.309 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.443e-05/0.6843, allocations: 11.94 kB / 0.5762 GB, free: 2.297 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.001493/0.6858, allocations: 0.6664 MB / 0.5768 GB, free: 1.586 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6859, allocations: 8.031 kB / 0.5768 GB, free: 1.578 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.686, allocations: 47.44 kB / 0.5769 GB, free: 1.531 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006182/0.6867, allocations: 307.4 kB / 0.5772 GB, free: 1.188 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.6867, allocations: 16 kB / 0.5772 GB, free: 1.172 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/0.6868, allocations: 20 kB / 0.5772 GB, free: 1.152 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008243/0.6876, allocations: 329.9 kB / 0.5775 GB, free: 0.832 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.6888, allocations: 494.6 kB / 0.578 GB, free: 340 kB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.6888, allocations: 0 / 0.578 GB, free: 340 kB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.927e-05/0.6889, allocations: 4 kB / 0.578 GB, free: 336 kB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.508e-05/0.6889, allocations: 20.72 kB / 0.578 GB, free: 316 kB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00457/0.6935, allocations: 1.26 MB / 0.5793 GB, free: 15 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.6947, allocations: 235.6 kB / 0.5795 GB, free: 14.74 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.6951, allocations: 102.5 kB / 0.5796 GB, free: 14.63 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.556e-05/0.6952, allocations: 4 kB / 0.5796 GB, free: 14.62 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.6953, allocations: 38.56 kB / 0.5796 GB, free: 14.58 MB / 427.1 MB Notification: Performance of pre-optimization done (n=17): time 5.23e-06/0.6953, allocations: 0 / 0.5796 GB, free: 14.58 MB / 427.1 MB Notification: Performance of matching and sorting (n=17): time 0.001426/0.6967, allocations: 253.4 kB / 0.5799 GB, free: 14.32 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.6969, allocations: 114.8 kB / 0.58 GB, free: 14.19 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006382/0.6975, allocations: 224.5 kB / 0.5802 GB, free: 13.96 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 8.13e-05/0.6977, allocations: 25.7 kB / 0.5802 GB, free: 13.93 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.698, allocations: 290.4 kB / 0.5805 GB, free: 13.64 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.6982, allocations: 63.09 kB / 0.5805 GB, free: 13.58 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.6983, allocations: 3.938 kB / 0.5805 GB, free: 13.57 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.6985, allocations: 314.8 kB / 0.5808 GB, free: 13.26 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.699, allocations: 96.09 kB / 0.5809 GB, free: 13.16 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.6995, allocations: 137.4 kB / 0.5811 GB, free: 13.01 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.6999, allocations: 107.9 kB / 0.5812 GB, free: 12.9 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.6999, allocations: 0 / 0.5812 GB, free: 12.9 MB / 427.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00134/0.7013, allocations: 285.2 kB / 0.5814 GB, free: 12.62 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.7014, allocations: 8 kB / 0.5815 GB, free: 12.61 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/0.7015, allocations: 27.97 kB / 0.5815 GB, free: 12.58 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.7016, allocations: 4.156 kB / 0.5815 GB, free: 12.58 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/0.7022, allocations: 39.97 kB / 0.5815 GB, free: 12.54 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.7022, allocations: 3.984 kB / 0.5815 GB, free: 12.54 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007059/0.7029, allocations: 47.77 kB / 0.5816 GB, free: 12.49 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.863e-05/0.703, allocations: 15.98 kB / 0.5816 GB, free: 12.47 MB / 427.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.0002211/0.7033, allocations: 112.9 kB / 0.5817 GB, free: 12.36 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002659/0.7059, allocations: 252.5 kB / 0.5819 GB, free: 12.11 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.7063, allocations: 23.72 kB / 0.582 GB, free: 12.08 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.7089, allocations: 331.2 kB / 0.5823 GB, free: 11.75 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-05/0.7093, allocations: 4 kB / 0.5823 GB, free: 11.75 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.7093, allocations: 7.891 kB / 0.5823 GB, free: 11.74 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.7094, allocations: 4.062 kB / 0.5823 GB, free: 11.74 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.7109, allocations: 333.9 kB / 0.5826 GB, free: 11.38 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001482/0.7111, allocations: 31.97 kB / 0.5826 GB, free: 11.34 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.7116, allocations: 31.97 kB / 0.5827 GB, free: 11.31 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.7116, allocations: 0 / 0.5827 GB, free: 11.31 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.7117, allocations: 4 kB / 0.5827 GB, free: 11.31 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.7117, allocations: 7.984 kB / 0.5827 GB, free: 11.3 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.7117, allocations: 3.984 kB / 0.5827 GB, free: 11.3 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.7135, allocations: 0.5169 MB / 0.5832 GB, free: 10.75 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007655/0.7143, allocations: 144.8 kB / 0.5833 GB, free: 10.59 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.7145, allocations: 0 / 0.5833 GB, free: 10.59 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008286/0.7153, allocations: 27.94 kB / 0.5834 GB, free: 10.56 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.7155, allocations: 23.97 kB / 0.5834 GB, free: 10.54 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.819e-05/0.7156, allocations: 8 kB / 0.5834 GB, free: 10.53 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0004272/0.7161, allocations: 184.5 kB / 0.5836 GB, free: 10.35 MB / 427.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.7161, allocations: 0 / 0.5836 GB, free: 10.35 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.002534/0.7186, allocations: 183.2 kB / 0.5837 GB, free: 10.17 MB / 427.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.00207/0.7208, allocations: 1.375 MB / 0.5851 GB, free: 8.766 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.7222, allocations: 455.1 kB / 0.5855 GB, free: 8.266 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7222, allocations: 0 / 0.5855 GB, free: 8.266 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007946/0.723, allocations: 359.1 kB / 0.5859 GB, free: 7.859 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009127/0.724, allocations: 36.72 kB / 0.5859 GB, free: 7.824 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.7295, allocations: 0.723 MB / 0.5866 GB, free: 7.051 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.7306, allocations: 0.8645 MB / 0.5874 GB, free: 6.16 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/0.7311, allocations: 115.4 kB / 0.5875 GB, free: 6.047 MB / 427.1 MB Notification: Performance of SimCode: time 2.004e-06/0.7311, allocations: 0 / 0.5875 GB, free: 6.047 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.702/3.433, allocations: 8.178 MB / 0.5955 GB, free: 13.87 MB / 443.1 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