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.874/0.874, allocations: 150.9 MB / 166.5 MB, free: 14.36 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004898, allocations: 16.06 kB / 236.6 MB, free: 2.055 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06177/0.06228, allocations: 31.35 MB / 267.9 MB, free: 7.578 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.745/1.808, allocations: 294.2 MB / 0.549 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004548/1.812, allocations: 3.683 MB / 0.5526 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/1.812, allocations: 0 / 0.5526 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/1.812, allocations: 0 / 0.5526 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.99e-05/1.812, allocations: 23.84 kB / 0.5526 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/1.814, allocations: 0.718 MB / 0.5533 GB, free: 9.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/1.814, allocations: 63.64 kB / 0.5533 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/1.814, allocations: 23.97 kB / 0.5534 GB, free: 9.434 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.368e-05/1.814, allocations: 19.94 kB / 0.5534 GB, free: 9.414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/1.814, allocations: 27.89 kB / 0.5534 GB, free: 9.387 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/1.815, allocations: 4 kB / 0.5534 GB, free: 9.383 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/1.816, allocations: 0.6009 MB / 0.554 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/1.816, allocations: 11.94 kB / 0.554 GB, free: 8.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/1.816, allocations: 23.91 kB / 0.554 GB, free: 8.746 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/1.817, allocations: 0.6139 MB / 0.5546 GB, free: 8.133 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.817, allocations: 0 / 0.5546 GB, free: 8.133 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/1.817, allocations: 4 kB / 0.5546 GB, free: 8.129 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/1.817, allocations: 0 / 0.5546 GB, free: 8.129 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.0005944/1.818, allocations: 442.2 kB / 0.5551 GB, free: 7.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.818, allocations: 12.03 kB / 0.5551 GB, free: 7.637 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/1.818, allocations: 34.56 kB / 0.5551 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/1.818, allocations: 7.953 kB / 0.5551 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/1.818, allocations: 170.9 kB / 0.5553 GB, free: 7.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/1.818, allocations: 4 kB / 0.5553 GB, free: 7.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/1.818, allocations: 4 kB / 0.5553 GB, free: 7.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/1.818, allocations: 69.61 kB / 0.5553 GB, free: 7.297 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.818, allocations: 3.984 kB / 0.5553 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/1.818, allocations: 0 / 0.5553 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.818, allocations: 4 kB / 0.5554 GB, free: 7.289 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/1.818, allocations: 67.92 kB / 0.5554 GB, free: 7.223 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/1.819, allocations: 446.8 kB / 0.5558 GB, free: 6.699 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/1.819, allocations: 62.55 kB / 0.5559 GB, free: 6.629 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/1.819, allocations: 28.86 kB / 0.5559 GB, free: 6.598 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003164/1.822, allocations: 3.301 MB / 0.5592 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/1.822, allocations: 34.56 kB / 0.5592 GB, free: 2.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/1.822, allocations: 0 / 0.5592 GB, free: 2.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.000276/1.822, allocations: 105.7 kB / 0.5593 GB, free: 2.426 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/1.823, allocations: 51.41 kB / 0.5593 GB, free: 2.363 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/1.823, allocations: 109.8 kB / 0.5594 GB, free: 2.246 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/1.823, allocations: 33.7 kB / 0.5595 GB, free: 2.207 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/1.823, allocations: 88.08 kB / 0.5596 GB, free: 2.117 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/1.823, allocations: 35.64 kB / 0.5596 GB, free: 2.082 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/1.823, allocations: 33.7 kB / 0.5596 GB, free: 2.043 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/1.823, allocations: 319.2 kB / 0.5599 GB, free: 1.723 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-05/1.823, allocations: 15.98 kB / 0.5599 GB, free: 1.707 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-05/1.823, allocations: 19.98 kB / 0.56 GB, free: 1.688 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.869e-05/1.823, allocations: 52.84 kB / 0.56 GB, free: 1.633 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/1.823, allocations: 3.938 kB / 0.56 GB, free: 1.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00016/1.823, allocations: 89.73 kB / 0.5601 GB, free: 1.535 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.823, allocations: 8 kB / 0.5601 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.823, allocations: 3.938 kB / 0.5601 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.823, allocations: 7.938 kB / 0.5601 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/1.824, allocations: 19.98 kB / 0.5601 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/1.824, allocations: 0 / 0.5601 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/1.824, allocations: 15.89 kB / 0.5602 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/1.824, allocations: 0 / 0.5602 GB, free: 1.48 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 9.619e-05/1.824, allocations: 118.4 kB / 0.5603 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/1.824, allocations: 7.953 kB / 0.5603 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/1.824, allocations: 125.8 kB / 0.5604 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.824, allocations: 0 / 0.5604 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.824, allocations: 0 / 0.5604 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.824, allocations: 0 / 0.5604 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/1.824, allocations: 189.5 kB / 0.5606 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.824, allocations: 0 / 0.5606 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/1.824, allocations: 15.98 kB / 0.5606 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.824, allocations: 4 kB / 0.5606 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/1.824, allocations: 3.938 kB / 0.5606 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.824, allocations: 0 / 0.5606 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/1.824, allocations: 4 kB / 0.5606 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/1.825, allocations: 187.8 kB / 0.5608 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/1.825, allocations: 81.06 kB / 0.5609 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/1.825, allocations: 11.94 kB / 0.5609 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.252e-05/1.825, allocations: 3.984 kB / 0.5609 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/1.825, allocations: 4 kB / 0.5609 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/1.825, allocations: 7.938 kB / 0.5609 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.296e-05/1.825, allocations: 91.52 kB / 0.561 GB, free: 0.543 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.825, allocations: 4 kB / 0.561 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004858/1.825, allocations: 167.5 kB / 0.5611 GB, free: 384 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.001127/1.827, allocations: 1.026 MB / 0.5621 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/1.827, allocations: 55.97 kB / 0.5622 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.827, allocations: 3.938 kB / 0.5622 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.507e-05/1.827, allocations: 35.92 kB / 0.5622 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/1.827, allocations: 14.31 kB / 0.5622 GB, free: 15.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/1.829, allocations: 1.449 MB / 0.5637 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/1.829, allocations: 0.6961 MB / 0.5643 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.794e-05/1.829, allocations: 16.36 kB / 0.5644 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/1.829, allocations: 27.42 kB / 0.5644 GB, free: 12.92 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/1.829, allocations: 0 / 0.5644 GB, free: 12.92 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/1.858, allocations: 7.078 MB / 0.5713 GB, free: 5.965 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/9.932, allocations: 3.375 kB / 0.5713 GB, free: 5.965 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)