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.007467/0.007467, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.00185/0.00185, allocations: 186.3 kB / 16.67 MB, free: 5.926 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8496/0.8496, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003004/0.003005, allocations: 72.2 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2518, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5926/0.8445, allocations: 161.3 MB / 0.8168 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005108/0.8497, allocations: 4.554 MB / 0.8212 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004469/0.8501, allocations: 9.594 kB / 0.8212 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.8506, allocations: 122.6 kB / 0.8213 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.8518, allocations: 332.5 kB / 0.8217 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009472/0.8528, allocations: 281.1 kB / 0.8219 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008392/0.8536, allocations: 0.5631 MB / 0.8225 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.854, allocations: 200.6 kB / 0.8227 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.8552, allocations: 453.8 kB / 0.8231 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.8556, allocations: 195.6 kB / 0.8233 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.8557, allocations: 16.47 kB / 0.8233 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.856, allocations: 87.05 kB / 0.8234 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.8561, allocations: 89.67 kB / 0.8235 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.8563, allocations: 119.3 kB / 0.8236 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.8568, allocations: 305.8 kB / 0.8239 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8568, allocations: 0.9375 kB / 0.8239 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8569, allocations: 3.516 kB / 0.8239 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.8569, allocations: 0 / 0.8239 GB, free: 2.832 MB / 0.6387 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.0007177/0.8576, allocations: 0.5434 MB / 0.8244 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.8576, allocations: 11.67 kB / 0.8244 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.8577, allocations: 53.66 kB / 0.8245 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.8578, allocations: 24.89 kB / 0.8245 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.8581, allocations: 295.4 kB / 0.8248 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.8581, allocations: 12.31 kB / 0.8248 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.8582, allocations: 21.12 kB / 0.8248 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.8586, allocations: 258.8 kB / 0.8251 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.8586, allocations: 1.125 kB / 0.8251 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.8586, allocations: 7.703 kB / 0.8251 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.8587, allocations: 4.375 kB / 0.8251 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.859, allocations: 154.4 kB / 0.8252 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.8603, allocations: 1.364 MB / 0.8265 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.8606, allocations: 185.1 kB / 0.8267 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.8608, allocations: 94.03 kB / 0.8268 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003642/0.8611, allocations: 119.9 kB / 0.8269 GB, free: 16.65 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.8612, allocations: 39.02 kB / 0.827 GB, free: 16.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.8612, allocations: 2.031 kB / 0.827 GB, free: 16.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006231/0.8618, allocations: 210 kB / 0.8272 GB, free: 16.56 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.8619, allocations: 187.1 kB / 0.8273 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.8623, allocations: 297.8 kB / 0.8276 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.8623, allocations: 27.95 kB / 0.8277 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.8624, allocations: 146 kB / 0.8278 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.8625, allocations: 38.66 kB / 0.8278 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.8625, allocations: 36.48 kB / 0.8279 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.8627, allocations: 334 kB / 0.8282 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.8628, allocations: 52.25 kB / 0.8282 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.863, allocations: 119.7 kB / 0.8284 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.8633, allocations: 157.2 kB / 0.8285 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.8633, allocations: 0 / 0.8285 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003726/0.8637, allocations: 192.5 kB / 0.8287 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.8637, allocations: 5.984 kB / 0.8287 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.8637, allocations: 3.75 kB / 0.8287 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8637, allocations: 2.406 kB / 0.8287 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.8639, allocations: 32.78 kB / 0.8287 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.8639, allocations: 8.672 kB / 0.8287 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.8641, allocations: 30.12 kB / 0.8288 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.8641, allocations: 7.406 kB / 0.8288 GB, free: 15.56 MB / 0.6544 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.0001599/0.8643, allocations: 151.5 kB / 0.8289 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.8644, allocations: 26.34 kB / 0.8289 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.8647, allocations: 131.7 kB / 0.8291 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.8648, allocations: 3.781 kB / 0.8291 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.8648, allocations: 7.312 kB / 0.8291 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.413e-06/0.8648, allocations: 3.656 kB / 0.8291 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009208/0.8657, allocations: 0.7719 MB / 0.8298 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.8657, allocations: 2.938 kB / 0.8298 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.8658, allocations: 22.66 kB / 0.8299 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.8659, allocations: 5.859 kB / 0.8299 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.8659, allocations: 3.906 kB / 0.8299 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.8659, allocations: 2.234 kB / 0.8299 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8659, allocations: 3.531 kB / 0.8299 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.8664, allocations: 354.9 kB / 0.8302 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.8666, allocations: 108.3 kB / 0.8303 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.8666, allocations: 4.781 kB / 0.8303 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.8667, allocations: 14.02 kB / 0.8303 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.8668, allocations: 9.641 kB / 0.8303 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.8668, allocations: 8.422 kB / 0.8304 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002117/0.867, allocations: 211.5 kB / 0.8306 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.867, allocations: 0.875 kB / 0.8306 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000364/0.8674, allocations: 54.56 kB / 0.8306 GB, free: 14.36 MB / 0.6544 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.001177/0.8686, allocations: 0.9081 MB / 0.8315 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.869, allocations: 123.6 kB / 0.8316 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.869, allocations: 2.156 kB / 0.8316 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.8692, allocations: 59.16 kB / 0.8317 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.8699, allocations: 127.8 kB / 0.8318 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.8734, allocations: 2.603 MB / 0.8343 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.8738, allocations: 0.7589 MB / 0.8351 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.874, allocations: 60.2 kB / 0.8351 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.591e-05/0.8741, allocations: 68.78 kB / 0.8352 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of SimCode: time 4.2e-07/0.8741, allocations: 1.094 kB / 0.8352 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.9035, allocations: 6.868 MB / 0.8419 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.984, allocations: 8.016 kB / 0.8419 GB, free: 10.89 MB / 0.6544 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)