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.001438/0.001438, 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.001842/0.001842, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8183/0.8183, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 68.61 kB / 0.5019 GB, free: 3.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4288, allocations: 80.2 MB / 0.5802 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2061/0.6349, allocations: 161.4 MB / 0.7378 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006005/0.6409, allocations: 4.547 MB / 0.7422 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000454/0.6414, allocations: 11.94 kB / 0.7422 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.6419, allocations: 119.1 kB / 0.7423 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009865/0.643, allocations: 334.4 kB / 0.7426 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008348/0.6438, allocations: 281.9 kB / 0.7429 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006886/0.6445, allocations: 0.5611 MB / 0.7435 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003811/0.6449, allocations: 209.1 kB / 0.7437 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.6459, allocations: 454.3 kB / 0.7441 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.6462, allocations: 191.2 kB / 0.7443 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.6463, allocations: 16 kB / 0.7443 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.6465, allocations: 83.92 kB / 0.7444 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.6466, allocations: 79.8 kB / 0.7444 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.6468, allocations: 119.4 kB / 0.7446 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.6472, allocations: 299 kB / 0.7448 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6472, allocations: 0 / 0.7448 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6472, allocations: 7.938 kB / 0.7449 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.6472, allocations: 3.938 kB / 0.7449 GB, free: 8.258 MB / 0.5762 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.0008605/0.6481, allocations: 0.5409 MB / 0.7454 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.6481, allocations: 8.031 kB / 0.7454 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.091e-05/0.6482, allocations: 50.55 kB / 0.7454 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.6482, allocations: 23.72 kB / 0.7455 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.6486, allocations: 272 kB / 0.7457 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.6486, allocations: 20 kB / 0.7457 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.6487, allocations: 16 kB / 0.7458 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.6491, allocations: 262 kB / 0.746 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.6492, allocations: 4 kB / 0.746 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.6492, allocations: 11.98 kB / 0.746 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.6492, allocations: 4 kB / 0.746 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.6496, allocations: 147.8 kB / 0.7462 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.6509, allocations: 1.371 MB / 0.7475 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.6512, allocations: 191.6 kB / 0.7477 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.6514, allocations: 101.1 kB / 0.7478 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/0.6518, allocations: 113 kB / 0.7479 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.6518, allocations: 46.5 kB / 0.7479 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.6518, allocations: 0 / 0.7479 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006066/0.6524, allocations: 201.8 kB / 0.7481 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/0.6525, allocations: 191.9 kB / 0.7483 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.6528, allocations: 287 kB / 0.7486 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.6528, allocations: 29.7 kB / 0.7486 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.6529, allocations: 147.8 kB / 0.7488 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.653, allocations: 35.48 kB / 0.7488 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.653, allocations: 45.64 kB / 0.7488 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6532, allocations: 330.8 kB / 0.7492 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.6533, allocations: 47.97 kB / 0.7492 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.6535, allocations: 111.7 kB / 0.7493 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.6538, allocations: 162.9 kB / 0.7495 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6538, allocations: 4 kB / 0.7495 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003917/0.6542, allocations: 189.1 kB / 0.7496 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6543, allocations: 10.48 kB / 0.7497 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6543, allocations: 4 kB / 0.7497 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.6543, allocations: 0 / 0.7497 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.6545, allocations: 31.98 kB / 0.7497 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.6545, allocations: 12.16 kB / 0.7497 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.6546, allocations: 27.73 kB / 0.7497 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.6547, allocations: 4 kB / 0.7497 GB, free: 2.805 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.0001345/0.6548, allocations: 155.2 kB / 0.7499 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.6549, allocations: 31.64 kB / 0.7499 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.6553, allocations: 134.9 kB / 0.75 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.6553, allocations: 4 kB / 0.75 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6553, allocations: 4 kB / 0.75 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6553, allocations: 0 / 0.75 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008036/0.6561, allocations: 0.7652 MB / 0.7508 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6561, allocations: 4.156 kB / 0.7508 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.6563, allocations: 31.92 kB / 0.7508 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.6563, allocations: 0 / 0.7508 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.6563, allocations: 4 kB / 0.7508 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6563, allocations: 128 / 0.7508 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.6563, allocations: 11.94 kB / 0.7508 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.6568, allocations: 339.3 kB / 0.7512 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.6569, allocations: 108.8 kB / 0.7513 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.657, allocations: 0 / 0.7513 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.6571, allocations: 15.92 kB / 0.7513 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.6572, allocations: 19.98 kB / 0.7513 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.6572, allocations: 4 kB / 0.7513 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001946/0.6574, allocations: 213.9 kB / 0.7515 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6574, allocations: 0 / 0.7515 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003412/0.6578, allocations: 51.94 kB / 0.7516 GB, free: 0.7891 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.0009909/0.6588, allocations: 0.9176 MB / 0.7525 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.6591, allocations: 123.8 kB / 0.7526 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6591, allocations: 0 / 0.7526 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.6593, allocations: 64.64 kB / 0.7526 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000752/0.66, allocations: 127 kB / 0.7528 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.6633, allocations: 2.604 MB / 0.7553 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.6637, allocations: 0.7596 MB / 0.756 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001574/0.6639, allocations: 50.27 kB / 0.7561 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.664, allocations: 71.41 kB / 0.7562 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.664, allocations: 0 / 0.7562 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.6917, allocations: 6.778 MB / 0.7628 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/8.194, allocations: 11.78 kB / 0.7628 GB, free: 5.27 MB / 0.5919 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)