Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_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.001458/0.001458, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9168/0.9168, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 64.2 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1391, allocations: 80.93 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3984/0.5374, allocations: 161.3 MB / 0.742 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004929/0.5424, allocations: 4.544 MB / 0.7465 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.5427, allocations: 10.81 kB / 0.7465 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.5431, allocations: 126.5 kB / 0.7466 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007519/0.5439, allocations: 328.5 kB / 0.7469 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000706/0.5446, allocations: 280.1 kB / 0.7472 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005922/0.5452, allocations: 0.5511 MB / 0.7477 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.5456, allocations: 211.1 kB / 0.7479 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008589/0.5464, allocations: 457.2 kB / 0.7484 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.5467, allocations: 188.4 kB / 0.7485 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.5468, allocations: 16.5 kB / 0.7486 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.5469, allocations: 72.06 kB / 0.7486 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.588e-05/0.547, allocations: 96.58 kB / 0.7487 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.5472, allocations: 118.4 kB / 0.7488 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.5475, allocations: 301.9 kB / 0.7491 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5475, allocations: 4 kB / 0.7491 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5475, allocations: 0 / 0.7491 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.5475, allocations: 0 / 0.7491 GB, free: 2.578 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.0007246/0.5483, allocations: 0.5262 MB / 0.7496 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.5483, allocations: 8.344 kB / 0.7496 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.204e-05/0.5483, allocations: 56.92 kB / 0.7497 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.5484, allocations: 37.11 kB / 0.7497 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.5487, allocations: 268.7 kB / 0.75 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.5488, allocations: 19.94 kB / 0.75 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.5488, allocations: 17.34 kB / 0.75 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.5492, allocations: 276 kB / 0.7503 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.5492, allocations: 0 / 0.7503 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.5492, allocations: 6.812 kB / 0.7503 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5493, allocations: 4.75 kB / 0.7503 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.5496, allocations: 147.6 kB / 0.7504 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.5507, allocations: 1.372 MB / 0.7518 GB, free: 120 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.551, allocations: 186 kB / 0.752 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.5512, allocations: 90.92 kB / 0.752 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003447/0.5515, allocations: 128.7 kB / 0.7522 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.5516, allocations: 41.97 kB / 0.7522 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.5516, allocations: 0 / 0.7522 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005771/0.5522, allocations: 205.5 kB / 0.7524 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.5522, allocations: 190.6 kB / 0.7526 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.5525, allocations: 289 kB / 0.7529 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.5525, allocations: 28.67 kB / 0.7529 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.5526, allocations: 152.8 kB / 0.753 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.5527, allocations: 25.47 kB / 0.7531 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.5527, allocations: 35.23 kB / 0.7531 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5528, allocations: 339 kB / 0.7534 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.553, allocations: 47.08 kB / 0.7535 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.5531, allocations: 116.1 kB / 0.7536 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.5534, allocations: 157.8 kB / 0.7537 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5534, allocations: 4 kB / 0.7537 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003493/0.5538, allocations: 194.5 kB / 0.7539 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.5538, allocations: 5.406 kB / 0.7539 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5538, allocations: 2.812 kB / 0.7539 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.5538, allocations: 2.219 kB / 0.7539 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.554, allocations: 27.89 kB / 0.7539 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.554, allocations: 14.42 kB / 0.754 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.5541, allocations: 25.78 kB / 0.754 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.5542, allocations: 16.05 kB / 0.754 GB, free: 14.2 MB / 0.5762 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.0001085/0.5543, allocations: 138.9 kB / 0.7541 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.5544, allocations: 28.53 kB / 0.7542 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.5547, allocations: 134.2 kB / 0.7543 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5547, allocations: 6.625 kB / 0.7543 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5548, allocations: 6.578 kB / 0.7543 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.5548, allocations: 3.938 kB / 0.7543 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.5555, allocations: 0.7719 MB / 0.7551 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5555, allocations: 2.312 kB / 0.7551 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.5556, allocations: 26.23 kB / 0.7551 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5557, allocations: 0 / 0.7551 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.5557, allocations: 6.859 kB / 0.7551 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5557, allocations: 2.594 kB / 0.7551 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5557, allocations: 2.531 kB / 0.7551 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.5562, allocations: 340.1 kB / 0.7554 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.957e-05/0.5562, allocations: 111.3 kB / 0.7555 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.5563, allocations: 2.875 kB / 0.7555 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.5564, allocations: 17.08 kB / 0.7555 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.5565, allocations: 12.84 kB / 0.7556 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.5565, allocations: 5.688 kB / 0.7556 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001694/0.5567, allocations: 214.1 kB / 0.7558 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5567, allocations: 0 / 0.7558 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003134/0.557, allocations: 57.16 kB / 0.7558 GB, free: 12.62 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 (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.0008467/0.5578, allocations: 0.9182 MB / 0.7567 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000323/0.5582, allocations: 123.8 kB / 0.7568 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5582, allocations: 0 / 0.7568 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.5583, allocations: 62.25 kB / 0.7569 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007037/0.559, allocations: 131.2 kB / 0.757 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.5619, allocations: 2.612 MB / 0.7596 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.5622, allocations: 0.7558 MB / 0.7603 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.5623, allocations: 53.31 kB / 0.7604 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.948e-05/0.5624, allocations: 71.42 kB / 0.7604 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.5624, allocations: 0 / 0.7604 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4634/1.026, allocations: 6.782 MB / 0.767 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.502/9.528, allocations: 7.094 kB / 0.7671 GB, free: 1.387 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)