Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.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_T,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_T",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.8126/0.8126, allocations: 150.9 MB / 166.4 MB, free: 14.23 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 15.98 kB / 204.6 MB, free: 9.527 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1556, allocations: 31.32 MB / 236 MB, free: 5.422 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_T): time 1.591/1.747, allocations: 293.7 MB / 0.5172 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/1.751, allocations: 3.286 MB / 0.5204 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/1.751, allocations: 2.469 kB / 0.5204 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/1.751, allocations: 0 / 0.5204 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.663e-05/1.751, allocations: 19.78 kB / 0.5204 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/1.752, allocations: 426.2 kB / 0.5209 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.895e-05/1.752, allocations: 59.66 kB / 0.5209 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.967e-05/1.753, allocations: 11.98 kB / 0.5209 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.832e-05/1.753, allocations: 24.58 kB / 0.5209 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.476e-05/1.753, allocations: 27.91 kB / 0.521 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/1.753, allocations: 4.625 kB / 0.521 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007946/1.753, allocations: 351.5 kB / 0.5213 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/1.753, allocations: 13.91 kB / 0.5213 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/1.754, allocations: 19.88 kB / 0.5213 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005853/1.754, allocations: 372.4 kB / 0.5217 GB, free: 9.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.754, allocations: 7.984 kB / 0.5217 GB, free: 9.758 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/1.754, allocations: 0 / 0.5217 GB, free: 9.758 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/1.754, allocations: 1.188 kB / 0.5217 GB, free: 9.758 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.0005042/1.755, allocations: 407.3 kB / 0.5221 GB, free: 9.312 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/1.755, allocations: 12.72 kB / 0.5221 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/1.755, allocations: 39.55 kB / 0.5221 GB, free: 9.254 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/1.755, allocations: 8.844 kB / 0.5222 GB, free: 9.246 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/1.755, allocations: 168.3 kB / 0.5223 GB, free: 9.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/1.755, allocations: 4.969 kB / 0.5223 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/1.755, allocations: 9.406 kB / 0.5223 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/1.755, allocations: 67.33 kB / 0.5224 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/1.755, allocations: 0.5 kB / 0.5224 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/1.755, allocations: 0 / 0.5224 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/1.755, allocations: 4.719 kB / 0.5224 GB, free: 8.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/1.755, allocations: 87.83 kB / 0.5225 GB, free: 8.871 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/1.755, allocations: 179 kB / 0.5227 GB, free: 8.648 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/1.756, allocations: 79.5 kB / 0.5227 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/1.756, allocations: 32.84 kB / 0.5228 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001698/1.757, allocations: 2.617 MB / 0.5253 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/1.757, allocations: 34.5 kB / 0.5253 GB, free: 5.281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/1.757, allocations: 0 / 0.5253 GB, free: 5.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002559/1.758, allocations: 111.7 kB / 0.5255 GB, free: 5.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/1.758, allocations: 51.41 kB / 0.5255 GB, free: 5.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.808e-05/1.758, allocations: 103.4 kB / 0.5256 GB, free: 4.996 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/1.758, allocations: 29.92 kB / 0.5256 GB, free: 4.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/1.758, allocations: 80.14 kB / 0.5257 GB, free: 4.879 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/1.758, allocations: 57.09 kB / 0.5258 GB, free: 4.824 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/1.758, allocations: 25.7 kB / 0.5258 GB, free: 4.793 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/1.758, allocations: 314.8 kB / 0.5261 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/1.758, allocations: 20.83 kB / 0.5261 GB, free: 4.457 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/1.758, allocations: 19.98 kB / 0.5261 GB, free: 4.438 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/1.758, allocations: 49.89 kB / 0.5262 GB, free: 4.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.758, allocations: 0 / 0.5262 GB, free: 4.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001486/1.758, allocations: 105.1 kB / 0.5263 GB, free: 4.281 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/1.758, allocations: 5.656 kB / 0.5263 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.758, allocations: 4 kB / 0.5263 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/1.758, allocations: 0 / 0.5263 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/1.759, allocations: 19.98 kB / 0.5263 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/1.759, allocations: 0.5938 kB / 0.5263 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/1.759, allocations: 11.91 kB / 0.5263 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/1.759, allocations: 5.094 kB / 0.5263 GB, free: 4.238 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.121e-05/1.759, allocations: 118.6 kB / 0.5264 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/1.759, allocations: 7.938 kB / 0.5264 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/1.759, allocations: 131.3 kB / 0.5266 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/1.759, allocations: 0.5625 kB / 0.5266 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.759, allocations: 2.219 kB / 0.5266 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.759, allocations: 0 / 0.5266 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/1.759, allocations: 181.6 kB / 0.5267 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.759, allocations: 0 / 0.5267 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/1.759, allocations: 27.86 kB / 0.5268 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.759, allocations: 4 kB / 0.5268 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/1.759, allocations: 1.438 kB / 0.5268 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.759, allocations: 0 / 0.5268 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.759, allocations: 0 / 0.5268 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/1.759, allocations: 134.6 kB / 0.5269 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/1.759, allocations: 90.83 kB / 0.527 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/1.759, allocations: 4 kB / 0.527 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.212e-05/1.76, allocations: 1.438 kB / 0.527 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/1.76, allocations: 7.984 kB / 0.527 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/1.76, allocations: 4 kB / 0.527 GB, free: 3.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.047e-05/1.76, allocations: 83.28 kB / 0.5271 GB, free: 3.359 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.76, allocations: 1.438 kB / 0.5271 GB, free: 3.359 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003624/1.76, allocations: 115.9 kB / 0.5272 GB, free: 3.246 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 (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.0007662/1.761, allocations: 0.8631 MB / 0.528 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001465/1.761, allocations: 71.91 kB / 0.5281 GB, free: 2.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.761, allocations: 0.5 kB / 0.5281 GB, free: 2.305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/1.761, allocations: 37.42 kB / 0.5281 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/1.761, allocations: 23.05 kB / 0.5282 GB, free: 2.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/1.762, allocations: 1.335 MB / 0.5295 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/1.763, allocations: 0.6901 MB / 0.5301 GB, free: 140 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.629e-05/1.763, allocations: 19.64 kB / 0.5302 GB, free: 124 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/1.763, allocations: 15.44 kB / 0.5302 GB, free: 108 kB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/1.763, allocations: 1.906 kB / 0.5302 GB, free: 108 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/1.785, allocations: 5.188 MB / 0.5352 GB, free: 11.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.109/8.894, allocations: 13.75 kB / 0.5353 GB, free: 11.17 MB / 430.1 MB (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T_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_T.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe 2>&1)