Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009265, allocations: 91.11 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2027/0.2027, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.84e-05/1.852e-05, allocations: 4 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 61.93 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.412/0.5255, allocations: 97.29 MB / 0.5898 GB, free: 15.06 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.5258, allocations: 95.92 kB / 0.5899 GB, free: 14.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04143/0.5673, allocations: 14.56 MB / 0.6041 GB, free: 268 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5673, allocations: 0 / 0.6041 GB, free: 268 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.5673, allocations: 8 kB / 0.6041 GB, free: 260 kB / 410.7 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.0008367/0.5682, allocations: 0.5977 MB / 0.6047 GB, free: 15.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5682, allocations: 15.98 kB / 0.6047 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.806e-05/0.5683, allocations: 35.53 kB / 0.6048 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.5686, allocations: 278.5 kB / 0.605 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.5686, allocations: 12 kB / 0.605 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.5687, allocations: 20 kB / 0.605 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006112/0.5693, allocations: 493.6 kB / 0.6055 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006322/0.57, allocations: 477 kB / 0.606 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.57, allocations: 0 / 0.606 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.57, allocations: 0 / 0.606 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/0.5701, allocations: 33.3 kB / 0.606 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.5716, allocations: 1.05 MB / 0.607 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005593/0.5722, allocations: 417.2 kB / 0.6074 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.5724, allocations: 133.2 kB / 0.6076 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.5725, allocations: 16.2 kB / 0.6076 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.5725, allocations: 42.73 kB / 0.6076 GB, free: 12.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.5725, allocations: 0 / 0.6076 GB, free: 12.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005711/0.5731, allocations: 324.4 kB / 0.6079 GB, free: 12.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.5731, allocations: 55.41 kB / 0.608 GB, free: 12.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.5732, allocations: 135.8 kB / 0.6081 GB, free: 11.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.5733, allocations: 25.7 kB / 0.6081 GB, free: 11.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.5734, allocations: 200.1 kB / 0.6083 GB, free: 11.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.533e-05/0.5735, allocations: 94.59 kB / 0.6084 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.5735, allocations: 4 kB / 0.6084 GB, free: 11.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.5736, allocations: 334.8 kB / 0.6087 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.5738, allocations: 115.9 kB / 0.6088 GB, free: 11.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.5739, allocations: 116.1 kB / 0.609 GB, free: 11.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.5741, allocations: 131.8 kB / 0.6091 GB, free: 10.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5741, allocations: 0 / 0.6091 GB, free: 10.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004712/0.5746, allocations: 325.2 kB / 0.6094 GB, free: 10.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.5746, allocations: 11.94 kB / 0.6094 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.5747, allocations: 0 / 0.6094 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5747, allocations: 4 kB / 0.6094 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000777/0.5755, allocations: 155.9 kB / 0.6096 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/0.5783, allocations: 5.548 MB / 0.615 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.5785, allocations: 19.83 kB / 0.615 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.5785, allocations: 8 kB / 0.615 GB, free: 4.695 MB / 426.7 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.00011/0.5786, allocations: 112.9 kB / 0.6151 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00049/0.5791, allocations: 329.9 kB / 0.6154 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.5791, allocations: 15.81 kB / 0.6154 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000704/0.5799, allocations: 439 kB / 0.6159 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5799, allocations: 4 kB / 0.6159 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5799, allocations: 4 kB / 0.6159 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5799, allocations: 3.953 kB / 0.6159 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.5803, allocations: 341.8 kB / 0.6162 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5803, allocations: 0 / 0.6162 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/0.581, allocations: 151.9 kB / 0.6163 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.5811, allocations: 7.938 kB / 0.6163 GB, free: 3.258 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.5811, allocations: 8 kB / 0.6164 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/0.5839, allocations: 5.54 MB / 0.6218 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.5839, allocations: 0 / 0.6218 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005126/0.5844, allocations: 439.2 kB / 0.6222 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.5845, allocations: 104.8 kB / 0.6223 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.5846, allocations: 0 / 0.6223 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.5848, allocations: 7.984 kB / 0.6223 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.5849, allocations: 23.97 kB / 0.6223 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.5849, allocations: 11.98 kB / 0.6223 GB, free: 12.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.78e-05/0.585, allocations: 110.7 kB / 0.6224 GB, free: 12.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.585, allocations: 4 kB / 0.6224 GB, free: 12.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005396/0.5855, allocations: 171.4 kB / 0.6226 GB, free: 12.61 MB / 442.7 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.001111/0.5866, allocations: 1.116 MB / 0.6237 GB, free: 11.47 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009614/0.5876, allocations: 367.6 kB / 0.624 GB, free: 11.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5876, allocations: 0 / 0.624 GB, free: 11.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000694/0.5883, allocations: 251.7 kB / 0.6243 GB, free: 10.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.5885, allocations: 8.781 kB / 0.6243 GB, free: 10.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.5897, allocations: 0.6782 MB / 0.6249 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.5902, allocations: 0.8612 MB / 0.6258 GB, free: 9.254 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.5903, allocations: 65.78 kB / 0.6258 GB, free: 9.188 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.5905, allocations: 115.3 kB / 0.626 GB, free: 9.074 MB / 442.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5905, allocations: 0 / 0.626 GB, free: 9.074 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.616, allocations: 7.349 MB / 0.6331 GB, free: 1.742 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/0.6162, allocations: 187.9 kB / 0.6333 GB, free: 1.547 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.487, allocations: 1.719 kB / 0.6333 GB, free: 1.547 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat