Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json 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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 192.7 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6988/0.6988, allocations: 132.2 MB / 422.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.00107, allocations: 67.7 kB / 0.5014 GB, free: 9.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1177, allocations: 80.2 MB / 0.5797 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3453/0.463, allocations: 159.1 MB / 0.7351 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004378/0.4674, allocations: 4.505 MB / 0.7395 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.4677, allocations: 12.94 kB / 0.7395 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.468, allocations: 107.2 kB / 0.7396 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005965/0.4687, allocations: 312.9 kB / 0.7399 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.4693, allocations: 254.4 kB / 0.7401 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004483/0.4697, allocations: 0.5611 MB / 0.7407 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.47, allocations: 198.8 kB / 0.7409 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007307/0.4707, allocations: 451.8 kB / 0.7413 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.4709, allocations: 210 kB / 0.7415 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.471, allocations: 15.5 kB / 0.7415 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.4711, allocations: 70 kB / 0.7416 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.138e-05/0.4712, allocations: 91.19 kB / 0.7417 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.4713, allocations: 122.7 kB / 0.7418 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.4716, allocations: 294.5 kB / 0.7421 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4716, allocations: 7.938 kB / 0.7421 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.41e-07/0.4716, allocations: 0 / 0.7421 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.4716, allocations: 0 / 0.7421 GB, free: 9.961 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006405/0.4722, allocations: 0.5366 MB / 0.7426 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.4723, allocations: 9.844 kB / 0.7426 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.4723, allocations: 58.53 kB / 0.7427 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.4724, allocations: 24.34 kB / 0.7427 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.4727, allocations: 271.3 kB / 0.743 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4727, allocations: 15.16 kB / 0.743 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.4727, allocations: 16.88 kB / 0.743 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.4731, allocations: 269 kB / 0.7432 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4731, allocations: 0 / 0.7432 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.4732, allocations: 7.031 kB / 0.7432 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4732, allocations: 7.312 kB / 0.7433 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.4735, allocations: 148.6 kB / 0.7434 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.4745, allocations: 1.366 MB / 0.7447 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.4747, allocations: 182.8 kB / 0.7449 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.4749, allocations: 90.97 kB / 0.745 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/0.4752, allocations: 125.4 kB / 0.7451 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.4752, allocations: 38.06 kB / 0.7451 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.4753, allocations: 4 kB / 0.7452 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005337/0.4758, allocations: 202.3 kB / 0.7453 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.4759, allocations: 188.4 kB / 0.7455 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.4761, allocations: 289.8 kB / 0.7458 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4761, allocations: 30.73 kB / 0.7458 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.4762, allocations: 156.3 kB / 0.746 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.4763, allocations: 36.52 kB / 0.746 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.4763, allocations: 30.56 kB / 0.746 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.4764, allocations: 337.6 kB / 0.7464 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.4765, allocations: 52.8 kB / 0.7464 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.4767, allocations: 121.5 kB / 0.7465 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.477, allocations: 156.3 kB / 0.7467 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.477, allocations: 0 / 0.7467 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003143/0.4773, allocations: 194.6 kB / 0.7469 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.4773, allocations: 4.594 kB / 0.7469 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4773, allocations: 2.906 kB / 0.7469 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4773, allocations: 2.75 kB / 0.7469 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.4775, allocations: 36.75 kB / 0.7469 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4775, allocations: 4.719 kB / 0.7469 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.4776, allocations: 25.73 kB / 0.7469 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.4777, allocations: 16.16 kB / 0.747 GB, free: 5.902 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.4778, allocations: 144.4 kB / 0.7471 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.4779, allocations: 31.77 kB / 0.7471 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.4782, allocations: 131.6 kB / 0.7473 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4782, allocations: 0 / 0.7473 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4782, allocations: 5.125 kB / 0.7473 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4782, allocations: 2.188 kB / 0.7473 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006865/0.4789, allocations: 0.7819 MB / 0.748 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4789, allocations: 2.75 kB / 0.748 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.479, allocations: 21.67 kB / 0.748 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.479, allocations: 2.375 kB / 0.748 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.479, allocations: 7.062 kB / 0.7481 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.479, allocations: 0 / 0.7481 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.479, allocations: 2.719 kB / 0.7481 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.4795, allocations: 349 kB / 0.7484 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.4796, allocations: 106.9 kB / 0.7485 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.4796, allocations: 2.562 kB / 0.7485 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.4798, allocations: 15.52 kB / 0.7485 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.4798, allocations: 12.67 kB / 0.7485 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.4798, allocations: 10.62 kB / 0.7485 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001553/0.48, allocations: 209.4 kB / 0.7487 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.48, allocations: 0 / 0.7487 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002912/0.4803, allocations: 57.78 kB / 0.7488 GB, free: 4.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007919/0.4811, allocations: 0.9107 MB / 0.7497 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002811/0.4814, allocations: 123.3 kB / 0.7498 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4814, allocations: 2.688 kB / 0.7498 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.4815, allocations: 60.3 kB / 0.7499 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/0.4821, allocations: 131 kB / 0.75 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.4847, allocations: 2.671 MB / 0.7526 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.4849, allocations: 0.7581 MB / 0.7533 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.4851, allocations: 42.86 kB / 0.7534 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.4852, allocations: 74.88 kB / 0.7534 GB, free: 456 kB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.4852, allocations: 0 / 0.7534 GB, free: 456 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.144/2.629, allocations: 6.635 MB / 0.7599 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/2.63, allocations: 225.3 kB / 0.7601 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/4.899, allocations: 0 / 0.7601 GB, free: 9.875 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)