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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",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.002331/0.002338, allocations: 179.4 kB / 8.364 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.279/2.279, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001102/0.001102, allocations: 88.56 kB / 262.1 MB, free: 13.88 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.2959/0.2959, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.091e-05, allocations: 4 kB / 418.4 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.5512, allocations: 58.84 MB / 477.2 MB, free: 5.188 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2287/0.7799, allocations: 96.14 MB / 0.5599 GB, free: 3.055 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003837/0.7804, allocations: 99.44 kB / 0.56 GB, free: 2.961 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0695/0.8499, allocations: 14.18 MB / 0.5738 GB, free: 4.625 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.85, allocations: 4 kB / 0.5738 GB, free: 4.621 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.85, allocations: 4 kB / 0.5738 GB, free: 4.617 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00133/0.8513, allocations: 0.5964 MB / 0.5744 GB, free: 3.977 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.8514, allocations: 8.031 kB / 0.5744 GB, free: 3.969 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.8515, allocations: 39.53 kB / 0.5745 GB, free: 3.93 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.8521, allocations: 282.2 kB / 0.5747 GB, free: 3.613 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.8521, allocations: 12 kB / 0.5748 GB, free: 3.602 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.283e-05/0.8522, allocations: 31.98 kB / 0.5748 GB, free: 3.57 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001079/0.8533, allocations: 481.8 kB / 0.5752 GB, free: 3.098 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.8544, allocations: 473.1 kB / 0.5757 GB, free: 2.629 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.8544, allocations: 0 / 0.5757 GB, free: 2.629 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.8545, allocations: 0 / 0.5757 GB, free: 2.629 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.777e-05/0.8546, allocations: 37.28 kB / 0.5757 GB, free: 2.594 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/0.8574, allocations: 1.054 MB / 0.5768 GB, free: 1.496 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.8584, allocations: 411.8 kB / 0.5772 GB, free: 1.086 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.8588, allocations: 133.2 kB / 0.5773 GB, free: 0.9531 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.8589, allocations: 8.234 kB / 0.5773 GB, free: 0.9453 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.8589, allocations: 38.8 kB / 0.5773 GB, free: 0.8984 MB / 411.1 MB Notification: Performance of pre-optimization done (n=28): time 2.535e-06/0.8589, allocations: 0 / 0.5773 GB, free: 0.8984 MB / 411.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009896/0.8599, allocations: 335.2 kB / 0.5776 GB, free: 0.5664 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.86, allocations: 55.34 kB / 0.5777 GB, free: 0.5 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.8602, allocations: 129.4 kB / 0.5778 GB, free: 376 kB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.8602, allocations: 25.7 kB / 0.5778 GB, free: 344 kB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.8604, allocations: 274.5 kB / 0.5781 GB, free: 68 kB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.8605, allocations: 90.77 kB / 0.5782 GB, free: 15.97 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.8606, allocations: 0 / 0.5782 GB, free: 15.97 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.8607, allocations: 322.8 kB / 0.5785 GB, free: 15.65 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.8611, allocations: 119.9 kB / 0.5786 GB, free: 15.53 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.8614, allocations: 111.9 kB / 0.5787 GB, free: 15.42 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.8618, allocations: 135.8 kB / 0.5789 GB, free: 15.29 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.8618, allocations: 0 / 0.5789 GB, free: 15.29 MB / 427.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008854/0.8627, allocations: 322 kB / 0.5792 GB, free: 14.97 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.8627, allocations: 4 kB / 0.5792 GB, free: 14.96 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.8628, allocations: 4 kB / 0.5792 GB, free: 14.96 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.8628, allocations: 0 / 0.5792 GB, free: 14.96 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.8643, allocations: 163.8 kB / 0.5793 GB, free: 14.8 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004164/0.8685, allocations: 5.543 MB / 0.5847 GB, free: 9.051 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.8689, allocations: 23.77 kB / 0.5848 GB, free: 9.027 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/0.869, allocations: 11.98 kB / 0.5848 GB, free: 9.016 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.8692, allocations: 112.9 kB / 0.5849 GB, free: 8.898 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000886/0.8701, allocations: 321.2 kB / 0.5852 GB, free: 8.578 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.8702, allocations: 19.77 kB / 0.5852 GB, free: 8.559 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.8714, allocations: 431.1 kB / 0.5856 GB, free: 8.129 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.8715, allocations: 4 kB / 0.5856 GB, free: 8.125 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.8715, allocations: 0 / 0.5856 GB, free: 8.125 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.8715, allocations: 3.984 kB / 0.5856 GB, free: 8.121 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007074/0.8722, allocations: 341.8 kB / 0.586 GB, free: 7.75 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.8722, allocations: 3.938 kB / 0.586 GB, free: 7.746 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/0.8737, allocations: 155.9 kB / 0.5861 GB, free: 7.594 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/0.8737, allocations: 0 / 0.5861 GB, free: 7.594 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.8738, allocations: 15.98 kB / 0.5861 GB, free: 7.578 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004151/0.8779, allocations: 5.54 MB / 0.5915 GB, free: 1.828 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/0.878, allocations: 8.312 kB / 0.5915 GB, free: 1.82 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009877/0.879, allocations: 435.7 kB / 0.592 GB, free: 1.379 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.8791, allocations: 92.86 kB / 0.592 GB, free: 1.27 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.8792, allocations: 3.984 kB / 0.592 GB, free: 1.266 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.8795, allocations: 11.95 kB / 0.5921 GB, free: 1.254 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.8796, allocations: 27.95 kB / 0.5921 GB, free: 1.227 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.8797, allocations: 8 kB / 0.5921 GB, free: 1.219 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.8798, allocations: 116.1 kB / 0.5922 GB, free: 1.105 MB / 427.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8798, allocations: 3.938 kB / 0.5922 GB, free: 1.102 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0008528/0.8807, allocations: 175.4 kB / 0.5924 GB, free: 0.9297 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001869/0.8826, allocations: 1.105 MB / 0.5935 GB, free: 15.8 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.8843, allocations: 367.6 kB / 0.5938 GB, free: 15.44 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.8844, allocations: 0 / 0.5938 GB, free: 15.44 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.8857, allocations: 243.7 kB / 0.594 GB, free: 15.2 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.8861, allocations: 20.55 kB / 0.5941 GB, free: 15.18 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.8881, allocations: 0.6968 MB / 0.5947 GB, free: 14.45 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/0.8887, allocations: 0.8649 MB / 0.5956 GB, free: 13.55 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.889, allocations: 107.4 kB / 0.5957 GB, free: 13.44 MB / 443.1 MB Notification: Performance of SimCode: time 9.21e-07/0.889, allocations: 0 / 0.5957 GB, free: 13.44 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.259/4.148, allocations: 19.73 MB / 0.615 GB, free: 9.684 MB / 459.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.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_KC_res.mat does not exist to compare? outputFormat=mat