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.008821/0.008821, 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.002193/0.002193, allocations: 197.2 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7655/0.7655, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 65.03 kB / 0.5809 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1504, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5733/0.7238, allocations: 167.5 MB / 0.8228 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007036/0.7309, allocations: 6.528 MB / 0.8292 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005965/0.7315, allocations: 17.25 kB / 0.8292 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006309/0.7322, allocations: 168.7 kB / 0.8294 GB, free: 464 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.7345, allocations: 0.8851 MB / 0.8302 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008399/0.7353, allocations: 318.3 kB / 0.8305 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007218/0.7361, allocations: 0.7225 MB / 0.8312 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004078/0.7365, allocations: 298.7 kB / 0.8315 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.7375, allocations: 0.5614 MB / 0.8321 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.7378, allocations: 267.5 kB / 0.8323 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.7379, allocations: 22.81 kB / 0.8323 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005611/0.7385, allocations: 348.4 kB / 0.8327 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.7386, allocations: 108.3 kB / 0.8328 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.7387, allocations: 155.7 kB / 0.8329 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.7393, allocations: 484 kB / 0.8334 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7393, allocations: 4 kB / 0.8334 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7393, allocations: 0 / 0.8334 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.7393, allocations: 2.375 kB / 0.8334 GB, free: 13.8 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.0007991/0.7402, allocations: 0.6292 MB / 0.834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.7402, allocations: 10.12 kB / 0.834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.7403, allocations: 62.25 kB / 0.8341 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/0.7406, allocations: 69.88 kB / 0.8341 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.741, allocations: 328.2 kB / 0.8345 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.7411, allocations: 21.5 kB / 0.8345 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.7411, allocations: 22.97 kB / 0.8345 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.7416, allocations: 313.7 kB / 0.8348 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.7416, allocations: 6.875 kB / 0.8348 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.7416, allocations: 8 kB / 0.8348 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.7417, allocations: 11.34 kB / 0.8348 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.742, allocations: 209.8 kB / 0.835 GB, free: 12.47 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.001381/0.7434, allocations: 1.532 MB / 0.8365 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.7437, allocations: 116.2 kB / 0.8366 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.7438, allocations: 94.58 kB / 0.8367 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005473/0.7444, allocations: 298.3 kB / 0.837 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.7444, allocations: 36.59 kB / 0.837 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.7444, allocations: 0 / 0.837 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0006964/0.7451, allocations: 277.1 kB / 0.8373 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.7452, allocations: 51.41 kB / 0.8374 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.7455, allocations: 313.9 kB / 0.8377 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.7455, allocations: 28.33 kB / 0.8377 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.7456, allocations: 185.8 kB / 0.8379 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.7457, allocations: 52.64 kB / 0.8379 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.7457, allocations: 34.36 kB / 0.8379 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7458, allocations: 342.2 kB / 0.8383 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.746, allocations: 60.45 kB / 0.8383 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.7462, allocations: 113.1 kB / 0.8384 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.7465, allocations: 183.5 kB / 0.8386 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7465, allocations: 4 kB / 0.8386 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003799/0.7469, allocations: 219.8 kB / 0.8388 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.7469, allocations: 7.438 kB / 0.8388 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.7469, allocations: 1.375 kB / 0.8388 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.7469, allocations: 2.938 kB / 0.8388 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.7471, allocations: 32.67 kB / 0.8389 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.7471, allocations: 3.094 kB / 0.8389 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.7473, allocations: 33.55 kB / 0.8389 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.7473, allocations: 7.656 kB / 0.8389 GB, free: 9.141 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.000123/0.7475, allocations: 156.3 kB / 0.8391 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.7475, allocations: 28.12 kB / 0.8391 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.7479, allocations: 210.4 kB / 0.8393 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.7479, allocations: 1.812 kB / 0.8393 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7479, allocations: 4 kB / 0.8393 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.748, allocations: 0 / 0.8393 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009311/0.7489, allocations: 0.678 MB / 0.8399 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.7489, allocations: 6.703 kB / 0.84 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.749, allocations: 32.14 kB / 0.84 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.7491, allocations: 5.906 kB / 0.84 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.7491, allocations: 2.906 kB / 0.84 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.7491, allocations: 2.781 kB / 0.84 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7491, allocations: 2.094 kB / 0.84 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.7495, allocations: 350.2 kB / 0.8403 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.7496, allocations: 119.9 kB / 0.8404 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.7496, allocations: 9.906 kB / 0.8405 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.7498, allocations: 9.984 kB / 0.8405 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.7499, allocations: 18.7 kB / 0.8405 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.7499, allocations: 6.156 kB / 0.8405 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002193/0.7501, allocations: 219.7 kB / 0.8407 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7501, allocations: 4 kB / 0.8407 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003501/0.7505, allocations: 76.94 kB / 0.8408 GB, free: 7.66 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.0009231/0.7514, allocations: 0.9215 MB / 0.8417 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000383/0.7518, allocations: 159.2 kB / 0.8418 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7518, allocations: 0 / 0.8418 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.752, allocations: 90.59 kB / 0.8419 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007878/0.7528, allocations: 138.1 kB / 0.842 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.7559, allocations: 2.809 MB / 0.8448 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.7562, allocations: 0.7849 MB / 0.8456 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001761/0.7564, allocations: 69.98 kB / 0.8456 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.7565, allocations: 94.16 kB / 0.8457 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.7565, allocations: 0 / 0.8457 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.7826, allocations: 8.121 MB / 0.8536 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.625, allocations: 8.047 kB / 0.8536 GB, free: 14.59 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)