Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_d",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9583/0.9583, allocations: 150.9 MB / 166.5 MB, free: 14.35 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.000398, allocations: 18.23 kB / 236.6 MB, free: 2.016 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06455/0.06499, allocations: 31.34 MB / 267.9 MB, free: 7.562 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d): time 1.932/1.998, allocations: 293.8 MB / 0.5485 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004927/2.003, allocations: 3.686 MB / 0.5521 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/2.003, allocations: 0 / 0.5521 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/2.003, allocations: 11.98 kB / 0.5521 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/2.003, allocations: 11.86 kB / 0.5521 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/2.005, allocations: 0.7283 MB / 0.5528 GB, free: 9.535 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.676e-05/2.005, allocations: 63.66 kB / 0.5529 GB, free: 9.473 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/2.005, allocations: 15.98 kB / 0.5529 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/2.005, allocations: 27.91 kB / 0.5529 GB, free: 9.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/2.005, allocations: 23.92 kB / 0.553 GB, free: 9.406 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/2.005, allocations: 0 / 0.553 GB, free: 9.406 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/2.007, allocations: 0.6009 MB / 0.5536 GB, free: 8.805 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/2.007, allocations: 11.98 kB / 0.5536 GB, free: 8.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/2.007, allocations: 23.86 kB / 0.5536 GB, free: 8.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/2.008, allocations: 0.6101 MB / 0.5542 GB, free: 8.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/2.008, allocations: 4 kB / 0.5542 GB, free: 8.156 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.398e-06/2.008, allocations: 4 kB / 0.5542 GB, free: 8.152 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/2.008, allocations: 0 / 0.5542 GB, free: 8.152 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000661/2.008, allocations: 439.4 kB / 0.5546 GB, free: 7.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.877e-05/2.009, allocations: 12.03 kB / 0.5546 GB, free: 7.664 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/2.009, allocations: 38.55 kB / 0.5547 GB, free: 7.617 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/2.009, allocations: 7.953 kB / 0.5547 GB, free: 7.609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/2.009, allocations: 170.9 kB / 0.5548 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/2.009, allocations: 8 kB / 0.5548 GB, free: 7.395 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/2.009, allocations: 8 kB / 0.5548 GB, free: 7.387 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/2.009, allocations: 59.75 kB / 0.5549 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/2.009, allocations: 0 / 0.5549 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/2.009, allocations: 4 kB / 0.5549 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/2.009, allocations: 4 kB / 0.5549 GB, free: 7.316 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/2.009, allocations: 63.92 kB / 0.555 GB, free: 7.254 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/2.01, allocations: 442.9 kB / 0.5554 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/2.01, allocations: 70.5 kB / 0.5555 GB, free: 6.656 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/2.01, allocations: 32.84 kB / 0.5555 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003173/2.013, allocations: 3.305 MB / 0.5587 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/2.013, allocations: 34.55 kB / 0.5587 GB, free: 2.555 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/2.013, allocations: 0 / 0.5587 GB, free: 2.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003471/2.014, allocations: 105.7 kB / 0.5588 GB, free: 2.445 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/2.014, allocations: 51.41 kB / 0.5589 GB, free: 2.383 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/2.014, allocations: 109.8 kB / 0.559 GB, free: 2.266 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/2.014, allocations: 25.7 kB / 0.559 GB, free: 2.234 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/2.014, allocations: 92.03 kB / 0.5591 GB, free: 2.141 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/2.014, allocations: 43.62 kB / 0.5592 GB, free: 2.098 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/2.014, allocations: 25.72 kB / 0.5592 GB, free: 2.066 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/2.014, allocations: 318.8 kB / 0.5595 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/2.014, allocations: 19.98 kB / 0.5595 GB, free: 1.727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-05/2.014, allocations: 20 kB / 0.5595 GB, free: 1.707 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.305e-05/2.014, allocations: 48.84 kB / 0.5596 GB, free: 1.656 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/2.014, allocations: 0 / 0.5596 GB, free: 1.656 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001431/2.014, allocations: 101.9 kB / 0.5597 GB, free: 1.551 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/2.014, allocations: 4 kB / 0.5597 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/2.014, allocations: 11.88 kB / 0.5597 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/2.014, allocations: 0 / 0.5597 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/2.015, allocations: 19.98 kB / 0.5597 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/2.015, allocations: 0 / 0.5597 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/2.015, allocations: 7.953 kB / 0.5597 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/2.015, allocations: 8 kB / 0.5597 GB, free: 1.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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 6.862e-05/2.015, allocations: 106.4 kB / 0.5598 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/2.015, allocations: 11.95 kB / 0.5598 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/2.015, allocations: 130.1 kB / 0.56 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/2.015, allocations: 0 / 0.56 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/2.015, allocations: 256 / 0.56 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/2.015, allocations: 0 / 0.56 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/2.015, allocations: 189.5 kB / 0.5601 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/2.015, allocations: 0 / 0.5601 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/2.016, allocations: 16 kB / 0.5601 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/2.016, allocations: 3.984 kB / 0.5602 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/2.016, allocations: 7.938 kB / 0.5602 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/2.016, allocations: 7.984 kB / 0.5602 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/2.016, allocations: 0 / 0.5602 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/2.016, allocations: 187.4 kB / 0.5603 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/2.016, allocations: 85.06 kB / 0.5604 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/2.016, allocations: 3.938 kB / 0.5604 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.191e-05/2.016, allocations: 4 kB / 0.5604 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/2.016, allocations: 7.984 kB / 0.5604 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/2.016, allocations: 4 kB / 0.5604 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.571e-05/2.016, allocations: 87.28 kB / 0.5605 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.12e-07/2.016, allocations: 0 / 0.5605 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005463/2.017, allocations: 167.5 kB / 0.5607 GB, free: 408 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * 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.001238/2.018, allocations: 1.032 MB / 0.5617 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001372/2.018, allocations: 51.98 kB / 0.5617 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/2.018, allocations: 4 kB / 0.5618 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.746e-05/2.018, allocations: 35.86 kB / 0.5618 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/2.018, allocations: 12.86 kB / 0.5618 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/2.02, allocations: 1.452 MB / 0.5632 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/2.02, allocations: 0.6922 MB / 0.5639 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.193e-05/2.02, allocations: 16.41 kB / 0.5639 GB, free: 12.97 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/2.02, allocations: 23.44 kB / 0.5639 GB, free: 12.95 MB / 462.1 MB Notification: Performance of SimCode: time 1.292e-06/2.02, allocations: 3.938 kB / 0.5639 GB, free: 12.95 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/2.049, allocations: 7.075 MB / 0.5708 GB, free: 5.988 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/10.53, allocations: 4 kB / 0.5708 GB, free: 5.984 MB / 462.1 MB (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_d.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe 2>&1)