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.0007861/0.0007863, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008245/0.0008245, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7446/0.7446, allocations: 132.3 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 8 kB / 0.5035 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4228, allocations: 81.57 MB / 0.5832 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1663/0.5892, allocations: 146.5 MB / 0.7262 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004879/0.5941, allocations: 4.228 MB / 0.7304 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.5944, allocations: 7.938 kB / 0.7304 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.5948, allocations: 87.36 kB / 0.7304 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000699/0.5955, allocations: 254.8 kB / 0.7307 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006637/0.5961, allocations: 237.4 kB / 0.7309 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007213/0.5969, allocations: 0.6625 MB / 0.7316 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002924/0.5972, allocations: 157.2 kB / 0.7317 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007989/0.598, allocations: 366.5 kB / 0.7321 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.5983, allocations: 183.3 kB / 0.7322 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.5983, allocations: 8 kB / 0.7322 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.5985, allocations: 75.86 kB / 0.7323 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.502e-05/0.5986, allocations: 75.78 kB / 0.7324 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.5987, allocations: 69.58 kB / 0.7325 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.5989, allocations: 207.5 kB / 0.7327 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5989, allocations: 0 / 0.7327 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5989, allocations: 0 / 0.7327 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.5989, allocations: 4 kB / 0.7327 GB, free: 7.246 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.0007589/0.5997, allocations: 0.4942 MB / 0.7331 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5998, allocations: 12.03 kB / 0.7332 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.359e-05/0.5998, allocations: 50.55 kB / 0.7332 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.5999, allocations: 31.67 kB / 0.7332 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.6003, allocations: 280 kB / 0.7335 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.6003, allocations: 12 kB / 0.7335 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.6003, allocations: 20 kB / 0.7335 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.6008, allocations: 266.1 kB / 0.7338 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.6008, allocations: 0 / 0.7338 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.6008, allocations: 8 kB / 0.7338 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.6008, allocations: 4 kB / 0.7338 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.6011, allocations: 159.8 kB / 0.7339 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.6025, allocations: 1.375 MB / 0.7353 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.6028, allocations: 183.7 kB / 0.7355 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.6029, allocations: 105.1 kB / 0.7356 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003327/0.6033, allocations: 129 kB / 0.7357 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.6033, allocations: 42.5 kB / 0.7357 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.6033, allocations: 0 / 0.7357 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006265/0.604, allocations: 225.5 kB / 0.7359 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.467e-05/0.6041, allocations: 188.1 kB / 0.7361 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.6044, allocations: 283 kB / 0.7364 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.6044, allocations: 33.7 kB / 0.7364 GB, free: 3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.6045, allocations: 143.9 kB / 0.7366 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.6045, allocations: 39.52 kB / 0.7366 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/0.6046, allocations: 4 kB / 0.7366 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.6047, allocations: 334.8 kB / 0.7369 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.6049, allocations: 55.95 kB / 0.737 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.605, allocations: 118.9 kB / 0.7371 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.6052, allocations: 64.22 kB / 0.7371 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6052, allocations: 3.938 kB / 0.7372 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000364/0.6056, allocations: 209.1 kB / 0.7374 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.6056, allocations: 4 kB / 0.7374 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6056, allocations: 4 kB / 0.7374 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.6056, allocations: 4 kB / 0.7374 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.6058, allocations: 36.2 kB / 0.7374 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.6058, allocations: 11.92 kB / 0.7374 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.606, allocations: 27.69 kB / 0.7374 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.606, allocations: 15.98 kB / 0.7375 GB, free: 1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.6061, allocations: 139.4 kB / 0.7376 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.6063, allocations: 27.67 kB / 0.7376 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.6066, allocations: 147 kB / 0.7377 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.6066, allocations: 3.984 kB / 0.7378 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.6066, allocations: 4 kB / 0.7378 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.6066, allocations: 0 / 0.7378 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008956/0.6075, allocations: 0.7691 MB / 0.7385 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.6076, allocations: 0 / 0.7385 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.6077, allocations: 27.92 kB / 0.7385 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.6077, allocations: 8.141 kB / 0.7385 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.6077, allocations: 4 kB / 0.7385 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.6077, allocations: 4 kB / 0.7386 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6077, allocations: 0 / 0.7386 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.6082, allocations: 359.3 kB / 0.7389 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.6083, allocations: 108.9 kB / 0.739 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.6084, allocations: 8.125 kB / 0.739 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.6085, allocations: 19.98 kB / 0.739 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.6086, allocations: 15.92 kB / 0.739 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.6086, allocations: 4 kB / 0.739 GB, free: 132 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002201/0.6088, allocations: 205.9 kB / 0.7392 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6088, allocations: 0 / 0.7392 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003383/0.6092, allocations: 51.91 kB / 0.7393 GB, free: 15.88 MB / 0.5762 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 (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.001079/0.6103, allocations: 0.9388 MB / 0.7402 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.6106, allocations: 123.9 kB / 0.7403 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.6106, allocations: 0 / 0.7403 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.6108, allocations: 68.28 kB / 0.7404 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007029/0.6115, allocations: 128.6 kB / 0.7405 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.6137, allocations: 1.489 MB / 0.742 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.6141, allocations: 0.7482 MB / 0.7427 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001835/0.6143, allocations: 50.25 kB / 0.7427 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.6144, allocations: 71.41 kB / 0.7428 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.6144, allocations: 0 / 0.7428 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.6318, allocations: 6.3 MB / 0.749 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.632, allocations: 218 kB / 0.7492 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.504, allocations: 0 / 0.7492 GB, free: 5.805 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/linux/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) Environment - environmentSimulation: