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.8189/0.8189, allocations: 150.9 MB / 166.4 MB, free: 14.2 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 15.97 kB / 204.6 MB, free: 9.516 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 31.33 MB / 236 MB, free: 5.426 MB / 190.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.621/1.772, allocations: 293.6 MB / 0.5172 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004075/1.776, allocations: 3.691 MB / 0.5208 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/1.776, allocations: 0 / 0.5208 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/1.776, allocations: 4.75 kB / 0.5208 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.917e-05/1.776, allocations: 19.78 kB / 0.5208 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/1.778, allocations: 0.7234 MB / 0.5215 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.928e-05/1.779, allocations: 66.25 kB / 0.5216 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/1.779, allocations: 11.98 kB / 0.5216 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/1.779, allocations: 23.91 kB / 0.5216 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.95e-05/1.779, allocations: 27.92 kB / 0.5217 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/1.779, allocations: 4 kB / 0.5217 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/1.78, allocations: 0.6047 MB / 0.5223 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/1.78, allocations: 9.422 kB / 0.5223 GB, free: 9.254 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/1.78, allocations: 27.86 kB / 0.5223 GB, free: 9.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009882/1.781, allocations: 0.6073 MB / 0.5229 GB, free: 8.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.781, allocations: 0 / 0.5229 GB, free: 8.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.502e-06/1.781, allocations: 1.031 kB / 0.5229 GB, free: 8.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/1.781, allocations: 0 / 0.5229 GB, free: 8.617 MB / 414.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.0005939/1.782, allocations: 440.1 kB / 0.5233 GB, free: 8.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.782, allocations: 8.031 kB / 0.5233 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/1.782, allocations: 34.56 kB / 0.5233 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/1.782, allocations: 8.562 kB / 0.5234 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/1.782, allocations: 171.8 kB / 0.5235 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/1.782, allocations: 0 / 0.5235 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/1.782, allocations: 8 kB / 0.5235 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/1.782, allocations: 63.42 kB / 0.5236 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.782, allocations: 0 / 0.5236 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/1.782, allocations: 8.5 kB / 0.5236 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/1.782, allocations: 1.188 kB / 0.5236 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/1.783, allocations: 67.92 kB / 0.5237 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/1.783, allocations: 439.7 kB / 0.5241 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/1.783, allocations: 68.03 kB / 0.5241 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/1.783, allocations: 24.84 kB / 0.5242 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002764/1.786, allocations: 3.309 MB / 0.5274 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/1.786, allocations: 31.34 kB / 0.5274 GB, free: 3.047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/1.786, allocations: 0.75 kB / 0.5274 GB, free: 3.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003449/1.786, allocations: 107.8 kB / 0.5275 GB, free: 2.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/1.786, allocations: 56.03 kB / 0.5276 GB, free: 2.871 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/1.787, allocations: 107.8 kB / 0.5277 GB, free: 2.758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/1.787, allocations: 25.7 kB / 0.5277 GB, free: 2.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/1.787, allocations: 88.05 kB / 0.5278 GB, free: 2.637 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/1.787, allocations: 35.45 kB / 0.5278 GB, free: 2.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/1.787, allocations: 27.16 kB / 0.5279 GB, free: 2.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/1.787, allocations: 318.8 kB / 0.5282 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/1.787, allocations: 20.73 kB / 0.5282 GB, free: 2.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/1.787, allocations: 17.31 kB / 0.5282 GB, free: 2.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.337e-05/1.787, allocations: 66.22 kB / 0.5283 GB, free: 2.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.787, allocations: 0 / 0.5283 GB, free: 2.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001574/1.787, allocations: 95.03 kB / 0.5283 GB, free: 2.051 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.787, allocations: 7.281 kB / 0.5284 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.787, allocations: 3.938 kB / 0.5284 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/1.787, allocations: 0 / 0.5284 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/1.787, allocations: 19.98 kB / 0.5284 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/1.787, allocations: 5.406 kB / 0.5284 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.102e-05/1.787, allocations: 7.844 kB / 0.5284 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/1.787, allocations: 7.938 kB / 0.5284 GB, free: 2.004 MB / 414.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 7.86e-05/1.788, allocations: 110.6 kB / 0.5285 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/1.788, allocations: 9.031 kB / 0.5285 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/1.788, allocations: 123.2 kB / 0.5286 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/1.788, allocations: 3.984 kB / 0.5286 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/1.788, allocations: 0.5 kB / 0.5286 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/1.788, allocations: 1.062 kB / 0.5286 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/1.788, allocations: 181.6 kB / 0.5288 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.788, allocations: 96 / 0.5288 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/1.788, allocations: 24.59 kB / 0.5288 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/1.788, allocations: 0 / 0.5288 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/1.788, allocations: 13.11 kB / 0.5288 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.788, allocations: 4 kB / 0.5288 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.788, allocations: 0 / 0.5288 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/1.788, allocations: 186.4 kB / 0.529 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/1.788, allocations: 87.33 kB / 0.5291 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/1.788, allocations: 3.938 kB / 0.5291 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/1.789, allocations: 0 / 0.5291 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/1.789, allocations: 13.02 kB / 0.5291 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/1.789, allocations: 7.938 kB / 0.5291 GB, free: 1.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.182e-05/1.789, allocations: 81.66 kB / 0.5292 GB, free: 1.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.789, allocations: 0 / 0.5292 GB, free: 1.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004832/1.789, allocations: 175.8 kB / 0.5294 GB, free: 0.918 MB / 414.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.0009958/1.79, allocations: 1.007 MB / 0.5304 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/1.79, allocations: 67.3 kB / 0.5304 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.79, allocations: 0 / 0.5304 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.217e-05/1.79, allocations: 35.86 kB / 0.5305 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/1.791, allocations: 28.55 kB / 0.5305 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/1.792, allocations: 1.436 MB / 0.5319 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/1.793, allocations: 0.6895 MB / 0.5326 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.678e-05/1.793, allocations: 13.08 kB / 0.5326 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/1.793, allocations: 20.36 kB / 0.5326 GB, free: 13.54 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/1.793, allocations: 4 kB / 0.5326 GB, free: 13.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/1.821, allocations: 7.044 MB / 0.5395 GB, free: 6.762 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/9.012, allocations: 6.875 kB / 0.5395 GB, free: 6.758 MB / 430.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)