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 1.002/1.002, allocations: 150.9 MB / 166.5 MB, free: 14.7 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003838, allocations: 15.08 kB / 236.6 MB, free: 1.969 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07221/0.07261, allocations: 31.34 MB / 267.9 MB, free: 7.586 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.975/2.048, allocations: 293.7 MB / 0.5485 GB, free: 14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00494/2.053, allocations: 3.682 MB / 0.5521 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/2.053, allocations: 4 kB / 0.5521 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/2.053, allocations: 7.922 kB / 0.5521 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.354e-05/2.053, allocations: 11.86 kB / 0.5521 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002155/2.055, allocations: 0.7259 MB / 0.5528 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.464e-05/2.055, allocations: 51.67 kB / 0.5528 GB, free: 9.504 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/2.055, allocations: 19.97 kB / 0.5529 GB, free: 9.484 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/2.056, allocations: 27.91 kB / 0.5529 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/2.056, allocations: 23.92 kB / 0.5529 GB, free: 9.434 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/2.056, allocations: 0 / 0.5529 GB, free: 9.434 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/2.057, allocations: 0.6009 MB / 0.5535 GB, free: 8.832 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/2.057, allocations: 11.98 kB / 0.5535 GB, free: 8.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.262e-05/2.057, allocations: 31.8 kB / 0.5535 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/2.058, allocations: 0.6136 MB / 0.5541 GB, free: 8.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/2.058, allocations: 0 / 0.5541 GB, free: 8.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.086e-06/2.058, allocations: 0 / 0.5541 GB, free: 8.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/2.058, allocations: 0 / 0.5541 GB, free: 8.18 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.000595/2.059, allocations: 442.2 kB / 0.5546 GB, free: 7.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/2.059, allocations: 8.031 kB / 0.5546 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/2.059, allocations: 38.5 kB / 0.5546 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/2.059, allocations: 11.94 kB / 0.5546 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/2.059, allocations: 171 kB / 0.5548 GB, free: 7.426 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/2.059, allocations: 7.938 kB / 0.5548 GB, free: 7.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/2.059, allocations: 7.984 kB / 0.5548 GB, free: 7.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/2.059, allocations: 63.86 kB / 0.5549 GB, free: 7.344 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/2.059, allocations: 0 / 0.5549 GB, free: 7.344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/2.059, allocations: 4 kB / 0.5549 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/2.059, allocations: 0 / 0.5549 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/2.059, allocations: 75.86 kB / 0.5549 GB, free: 7.266 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/2.06, allocations: 435 kB / 0.5553 GB, free: 6.754 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/2.06, allocations: 62.56 kB / 0.5554 GB, free: 6.684 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/2.06, allocations: 32.84 kB / 0.5554 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002966/2.063, allocations: 3.305 MB / 0.5587 GB, free: 2.625 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/2.063, allocations: 34.69 kB / 0.5587 GB, free: 2.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/2.063, allocations: 0 / 0.5587 GB, free: 2.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003884/2.064, allocations: 105.5 kB / 0.5588 GB, free: 2.473 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/2.064, allocations: 55.41 kB / 0.5589 GB, free: 2.406 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/2.064, allocations: 109.8 kB / 0.559 GB, free: 2.289 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/2.064, allocations: 25.7 kB / 0.559 GB, free: 2.258 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/2.064, allocations: 88.09 kB / 0.5591 GB, free: 2.168 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/2.064, allocations: 43.62 kB / 0.5591 GB, free: 2.125 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/2.064, allocations: 25.72 kB / 0.5591 GB, free: 2.094 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.074e-05/2.064, allocations: 318.8 kB / 0.5594 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.819e-05/2.064, allocations: 19.98 kB / 0.5595 GB, free: 1.754 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.044e-05/2.064, allocations: 16 kB / 0.5595 GB, free: 1.738 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/2.065, allocations: 52.84 kB / 0.5595 GB, free: 1.684 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/2.065, allocations: 0 / 0.5595 GB, free: 1.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001597/2.065, allocations: 101.8 kB / 0.5596 GB, free: 1.578 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/2.065, allocations: 8 kB / 0.5596 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/2.065, allocations: 3.938 kB / 0.5596 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/2.065, allocations: 0 / 0.5596 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/2.065, allocations: 20.38 kB / 0.5596 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/2.065, allocations: 7.984 kB / 0.5597 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/2.065, allocations: 4.203 kB / 0.5597 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/2.065, allocations: 8 kB / 0.5597 GB, free: 1.527 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.698e-05/2.065, allocations: 118.2 kB / 0.5598 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/2.065, allocations: 7.953 kB / 0.5598 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/2.065, allocations: 121.9 kB / 0.5599 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/2.065, allocations: 0 / 0.5599 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/2.066, allocations: 3.984 kB / 0.5599 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/2.066, allocations: 0 / 0.5599 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/2.066, allocations: 189.5 kB / 0.5601 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/2.066, allocations: 0 / 0.5601 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/2.066, allocations: 16 kB / 0.5601 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/2.066, allocations: 3.938 kB / 0.5601 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/2.066, allocations: 11.92 kB / 0.5601 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/2.066, allocations: 4 kB / 0.5601 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/2.066, allocations: 0 / 0.5601 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/2.066, allocations: 179.5 kB / 0.5603 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/2.066, allocations: 85.06 kB / 0.5604 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/2.066, allocations: 7.938 kB / 0.5604 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/2.066, allocations: 0 / 0.5604 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/2.066, allocations: 7.984 kB / 0.5604 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/2.066, allocations: 8 kB / 0.5604 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.427e-05/2.066, allocations: 83.28 kB / 0.5605 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/2.066, allocations: 0 / 0.5605 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006255/2.067, allocations: 171.5 kB / 0.5606 GB, free: 436 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.001276/2.068, allocations: 1.031 MB / 0.5616 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/2.069, allocations: 59.92 kB / 0.5617 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/2.069, allocations: 0 / 0.5617 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.883e-05/2.069, allocations: 31.92 kB / 0.5617 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/2.069, allocations: 31.2 kB / 0.5618 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/2.071, allocations: 1.449 MB / 0.5632 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/2.071, allocations: 0.6844 MB / 0.5638 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.359e-05/2.071, allocations: 24.44 kB / 0.5639 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/2.071, allocations: 19.44 kB / 0.5639 GB, free: 12.97 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/2.071, allocations: 0 / 0.5639 GB, free: 12.97 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/2.103, allocations: 7.075 MB / 0.5708 GB, free: 6.012 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.016/11.12, allocations: 7.375 kB / 0.5708 GB, free: 6.008 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)