Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",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.006824/0.006824, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.001673/0.001673, allocations: 199.7 kB / 16.67 MB, free: 5.531 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8195/0.8195, allocations: 132.2 MB / 422.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 66.89 kB / 0.5809 GB, free: 24.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.145, allocations: 80.2 MB / 0.6592 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5032/0.6483, allocations: 167.5 MB / 0.8228 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007296/0.6556, allocations: 6.533 MB / 0.8292 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004983/0.6561, allocations: 15.75 kB / 0.8292 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005135/0.6566, allocations: 174.5 kB / 0.8294 GB, free: 476 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.6587, allocations: 0.8398 MB / 0.8302 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008909/0.6596, allocations: 324.4 kB / 0.8305 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007462/0.6604, allocations: 0.7263 MB / 0.8312 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.6608, allocations: 278.3 kB / 0.8315 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009498/0.6617, allocations: 0.5503 MB / 0.832 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.6621, allocations: 276.1 kB / 0.8323 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.6621, allocations: 26.84 kB / 0.8323 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005777/0.6627, allocations: 331 kB / 0.8326 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.6629, allocations: 104.9 kB / 0.8327 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.663, allocations: 166.8 kB / 0.8329 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.6636, allocations: 484.5 kB / 0.8333 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6637, allocations: 0 / 0.8333 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6637, allocations: 0 / 0.8333 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.6637, allocations: 0 / 0.8333 GB, free: 13.85 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008784/0.6646, allocations: 0.625 MB / 0.8339 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6646, allocations: 14.05 kB / 0.834 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.447e-05/0.6647, allocations: 61.3 kB / 0.834 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.665, allocations: 65.89 kB / 0.8341 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.6654, allocations: 327.6 kB / 0.8344 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.6655, allocations: 18.91 kB / 0.8344 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.6655, allocations: 26.03 kB / 0.8344 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.666, allocations: 325.8 kB / 0.8347 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6661, allocations: 3.938 kB / 0.8348 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.6661, allocations: 10.25 kB / 0.8348 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.6661, allocations: 11.91 kB / 0.8348 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.6665, allocations: 201.5 kB / 0.835 GB, free: 12.52 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.668, allocations: 1.532 MB / 0.8365 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.6682, allocations: 120.1 kB / 0.8366 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.6684, allocations: 96.86 kB / 0.8367 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.669, allocations: 302.2 kB / 0.837 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.669, allocations: 40.78 kB / 0.837 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.669, allocations: 0 / 0.837 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0006877/0.6697, allocations: 263.4 kB / 0.8372 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.6698, allocations: 51.41 kB / 0.8373 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.6701, allocations: 313.6 kB / 0.8376 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.6701, allocations: 32.45 kB / 0.8376 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.6702, allocations: 185.4 kB / 0.8378 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.6703, allocations: 52.91 kB / 0.8379 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.6703, allocations: 34.36 kB / 0.8379 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.6705, allocations: 341.6 kB / 0.8382 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.6706, allocations: 62.2 kB / 0.8383 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.6708, allocations: 118.5 kB / 0.8384 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.6712, allocations: 177.4 kB / 0.8386 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6712, allocations: 2.469 kB / 0.8386 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003995/0.6716, allocations: 219.3 kB / 0.8388 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6716, allocations: 4.875 kB / 0.8388 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.6716, allocations: 6.844 kB / 0.8388 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.6716, allocations: 1.781 kB / 0.8388 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.6718, allocations: 41.78 kB / 0.8388 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.6718, allocations: 2.719 kB / 0.8388 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.672, allocations: 29.2 kB / 0.8388 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.672, allocations: 10.88 kB / 0.8389 GB, free: 9.188 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001483/0.6722, allocations: 152.5 kB / 0.839 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.6722, allocations: 28.03 kB / 0.839 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.6727, allocations: 211.3 kB / 0.8392 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6727, allocations: 2.594 kB / 0.8392 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6727, allocations: 0 / 0.8392 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6727, allocations: 0 / 0.8392 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009619/0.6737, allocations: 0.6777 MB / 0.8399 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6737, allocations: 0 / 0.8399 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.6738, allocations: 30.64 kB / 0.8399 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.6738, allocations: 9.938 kB / 0.8399 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.6738, allocations: 6.406 kB / 0.8399 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.6738, allocations: 5 kB / 0.8399 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.6739, allocations: 224 / 0.8399 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.6743, allocations: 343.4 kB / 0.8403 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.6744, allocations: 124.3 kB / 0.8404 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.6744, allocations: 10.5 kB / 0.8404 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.6746, allocations: 15.64 kB / 0.8404 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.6747, allocations: 12.8 kB / 0.8404 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.6747, allocations: 8.562 kB / 0.8404 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000209/0.6749, allocations: 228.3 kB / 0.8407 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6749, allocations: 0 / 0.8407 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003421/0.6753, allocations: 72.42 kB / 0.8407 GB, free: 7.711 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.001026/0.6763, allocations: 0.9193 MB / 0.8416 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003781/0.6767, allocations: 161 kB / 0.8418 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6767, allocations: 320 / 0.8418 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.6769, allocations: 89.23 kB / 0.8419 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007534/0.6776, allocations: 136.9 kB / 0.842 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.6808, allocations: 2.805 MB / 0.8447 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.6812, allocations: 0.7847 MB / 0.8455 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001677/0.6814, allocations: 74.3 kB / 0.8456 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.6815, allocations: 89.94 kB / 0.8457 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.6816, allocations: 6.344 kB / 0.8457 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.7101, allocations: 8.114 MB / 0.8536 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/8.516, allocations: 8.156 kB / 0.8536 GB, free: 14.72 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_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_EnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)