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.001716/0.001716, allocations: 108 kB / 15.6 MB, free: 132 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.002059/0.002059, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9671/0.9671, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 64.44 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1598, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.462/0.6218, allocations: 161.3 MB / 0.742 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005931/0.6278, allocations: 4.548 MB / 0.7465 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004323/0.6283, allocations: 13.22 kB / 0.7465 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.6289, allocations: 118.1 kB / 0.7466 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.6299, allocations: 328.3 kB / 0.7469 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008841/0.6308, allocations: 279.1 kB / 0.7472 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007678/0.6316, allocations: 0.5614 MB / 0.7477 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.632, allocations: 196.6 kB / 0.7479 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.6332, allocations: 465.9 kB / 0.7484 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.6336, allocations: 187 kB / 0.7485 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.6336, allocations: 18.53 kB / 0.7485 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.6338, allocations: 83.33 kB / 0.7486 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.634, allocations: 87.19 kB / 0.7487 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.6341, allocations: 114.5 kB / 0.7488 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.6345, allocations: 298 kB / 0.7491 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6346, allocations: 0 / 0.7491 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6346, allocations: 4 kB / 0.7491 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.6346, allocations: 1.031 kB / 0.7491 GB, free: 2.594 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.0009337/0.6355, allocations: 0.5328 MB / 0.7496 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.6356, allocations: 10.66 kB / 0.7496 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.192e-05/0.6356, allocations: 55.77 kB / 0.7497 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.315e-05/0.6357, allocations: 32.47 kB / 0.7497 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.6361, allocations: 272.2 kB / 0.75 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.6362, allocations: 19.47 kB / 0.75 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.6362, allocations: 16.31 kB / 0.75 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.6367, allocations: 265.8 kB / 0.7503 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6367, allocations: 4 kB / 0.7503 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.6367, allocations: 10.78 kB / 0.7503 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.6367, allocations: 4.906 kB / 0.7503 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.6371, allocations: 151 kB / 0.7504 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.6384, allocations: 1.37 MB / 0.7518 GB, free: 136 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.6387, allocations: 188 kB / 0.7519 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.6389, allocations: 99.19 kB / 0.752 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003395/0.6393, allocations: 120.7 kB / 0.7522 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.6393, allocations: 45.09 kB / 0.7522 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.6393, allocations: 0 / 0.7522 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006004/0.6399, allocations: 203.9 kB / 0.7524 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.64, allocations: 191 kB / 0.7526 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.6403, allocations: 284.8 kB / 0.7529 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.6403, allocations: 29.7 kB / 0.7529 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.6404, allocations: 148.9 kB / 0.753 GB, free: 15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.6405, allocations: 33.05 kB / 0.7531 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.6406, allocations: 38.73 kB / 0.7531 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.6407, allocations: 331.8 kB / 0.7534 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.6408, allocations: 47.78 kB / 0.7535 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.641, allocations: 123.5 kB / 0.7536 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.6413, allocations: 153.8 kB / 0.7537 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6413, allocations: 0 / 0.7537 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003812/0.6417, allocations: 192.9 kB / 0.7539 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.6418, allocations: 8.031 kB / 0.7539 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6418, allocations: 1.625 kB / 0.7539 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.6418, allocations: 5.125 kB / 0.7539 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.6419, allocations: 31.11 kB / 0.7539 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.6419, allocations: 7.219 kB / 0.754 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.6421, allocations: 30.27 kB / 0.754 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.6421, allocations: 5.219 kB / 0.754 GB, free: 14.21 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.0001295/0.6423, allocations: 153 kB / 0.7541 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.6424, allocations: 29.25 kB / 0.7542 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.6427, allocations: 126.6 kB / 0.7543 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.6428, allocations: 7.469 kB / 0.7543 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6428, allocations: 0 / 0.7543 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6428, allocations: 1.406 kB / 0.7543 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008192/0.6436, allocations: 0.7723 MB / 0.755 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6436, allocations: 5.156 kB / 0.755 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.6438, allocations: 26.98 kB / 0.7551 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.6438, allocations: 1.406 kB / 0.7551 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.6438, allocations: 2.812 kB / 0.7551 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.6438, allocations: 6.438 kB / 0.7551 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6438, allocations: 3.938 kB / 0.7551 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.6443, allocations: 344.8 kB / 0.7554 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.6444, allocations: 114.6 kB / 0.7555 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.6445, allocations: 6.953 kB / 0.7555 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.6446, allocations: 4.875 kB / 0.7555 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.6447, allocations: 19.17 kB / 0.7556 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.6447, allocations: 4.906 kB / 0.7556 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001928/0.6449, allocations: 209.8 kB / 0.7558 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6449, allocations: 0 / 0.7558 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003433/0.6453, allocations: 56.62 kB / 0.7558 GB, free: 12.64 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.0009948/0.6463, allocations: 0.9052 MB / 0.7567 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.6466, allocations: 126.3 kB / 0.7568 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6466, allocations: 0 / 0.7568 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.6468, allocations: 60.47 kB / 0.7569 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007712/0.6476, allocations: 142.8 kB / 0.757 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.6509, allocations: 2.608 MB / 0.7596 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.6512, allocations: 0.7597 MB / 0.7603 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.6514, allocations: 46.25 kB / 0.7603 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.6515, allocations: 75.41 kB / 0.7604 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of SimCode: time 3.5e-07/0.6516, allocations: 3.938 kB / 0.7604 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.6786, allocations: 6.788 MB / 0.767 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/8.213, allocations: 6.391 kB / 0.7671 GB, free: 1.352 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)