Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.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_h,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h",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.778/0.778, allocations: 150.9 MB / 166 MB, free: 14.67 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003133, allocations: 19.97 kB / 204.1 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.144, allocations: 31.33 MB / 235.4 MB, free: 5.43 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_h): time 1.428/1.572, allocations: 292.9 MB / 0.5159 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03273/1.605, allocations: 32.57 MB / 0.5477 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/1.605, allocations: 0 / 0.5477 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003535/1.605, allocations: 115.5 kB / 0.5478 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.501e-05/1.605, allocations: 31.77 kB / 0.5479 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01459/1.62, allocations: 6.044 MB / 0.5538 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/1.62, allocations: 111.5 kB / 0.5539 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/1.62, allocations: 23.95 kB / 0.5539 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/1.62, allocations: 59.55 kB / 0.5539 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/1.62, allocations: 31.86 kB / 0.554 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/1.62, allocations: 4 kB / 0.554 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02143/1.642, allocations: 14.58 MB / 0.5682 GB, free: 9.004 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/1.642, allocations: 11.92 kB / 0.5682 GB, free: 8.992 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/1.642, allocations: 43.73 kB / 0.5683 GB, free: 8.949 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01518/1.657, allocations: 7.209 MB / 0.5753 GB, free: 1.723 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.657, allocations: 4 kB / 0.5753 GB, free: 1.719 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.233e-06/1.657, allocations: 0 / 0.5753 GB, free: 1.719 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/1.657, allocations: 0 / 0.5753 GB, free: 1.719 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.002523/1.66, allocations: 1.139 MB / 0.5764 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/1.66, allocations: 12.03 kB / 0.5764 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/1.66, allocations: 42.55 kB / 0.5765 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/1.66, allocations: 7.844 kB / 0.5765 GB, free: 472 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.88e-05/1.66, allocations: 176.9 kB / 0.5767 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/1.66, allocations: 4 kB / 0.5767 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/1.66, allocations: 8 kB / 0.5767 GB, free: 244 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/1.66, allocations: 131.4 kB / 0.5768 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/1.66, allocations: 0 / 0.5768 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/1.66, allocations: 0 / 0.5768 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/1.66, allocations: 11.94 kB / 0.5768 GB, free: 76 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/1.66, allocations: 55.91 kB / 0.5769 GB, free: 20 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0319/1.692, allocations: 15.45 MB / 0.5919 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/1.692, allocations: 90.41 kB / 0.592 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/1.692, allocations: 56.91 kB / 0.5921 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06816/1.761, allocations: 40.43 MB / 0.6316 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/1.761, allocations: 39.2 kB / 0.6316 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 1.923e-06/1.761, allocations: 0 / 0.6316 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.0003238/1.761, allocations: 184.4 kB / 0.6318 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/1.761, allocations: 55.34 kB / 0.6318 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.821e-05/1.761, allocations: 117.8 kB / 0.6319 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/1.761, allocations: 29.7 kB / 0.632 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/1.761, allocations: 100.3 kB / 0.6321 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/1.761, allocations: 74.91 kB / 0.6321 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/1.761, allocations: 33.69 kB / 0.6322 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/1.761, allocations: 318.8 kB / 0.6325 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.524e-05/1.762, allocations: 48.14 kB / 0.6325 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.245e-05/1.762, allocations: 93.58 kB / 0.6326 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/1.762, allocations: 136.5 kB / 0.6327 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.762, allocations: 0 / 0.6327 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002265/1.762, allocations: 181.2 kB / 0.6329 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/1.762, allocations: 7.938 kB / 0.6329 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.762, allocations: 4 kB / 0.6329 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/1.762, allocations: 0 / 0.6329 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.25e-05/1.762, allocations: 23.86 kB / 0.6329 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/1.762, allocations: 4 kB / 0.6329 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/1.762, allocations: 11.84 kB / 0.633 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/1.762, allocations: 8 kB / 0.633 GB, free: 460 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.387e-05/1.762, allocations: 121.9 kB / 0.6331 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/1.762, allocations: 14.47 kB / 0.6331 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/1.763, allocations: 154.7 kB / 0.6332 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/1.763, allocations: 3.938 kB / 0.6332 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/1.763, allocations: 3.938 kB / 0.6332 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/1.763, allocations: 7.984 kB / 0.6333 GB, free: 136 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/1.763, allocations: 201.7 kB / 0.6334 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.763, allocations: 0 / 0.6334 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/1.763, allocations: 7.984 kB / 0.6335 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/1.763, allocations: 4 kB / 0.6335 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/1.763, allocations: 0 / 0.6335 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.763, allocations: 3.938 kB / 0.6335 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.763, allocations: 0 / 0.6335 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/1.763, allocations: 171.8 kB / 0.6336 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/1.763, allocations: 88.95 kB / 0.6337 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/1.763, allocations: 4.25 kB / 0.6337 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.006e-05/1.763, allocations: 3.938 kB / 0.6337 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/1.763, allocations: 7.984 kB / 0.6337 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/1.763, allocations: 4 kB / 0.6337 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.363e-05/1.763, allocations: 87.28 kB / 0.6338 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/1.763, allocations: 0 / 0.6338 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002265/1.765, allocations: 0.9877 MB / 0.6348 GB, free: 14.48 MB / 0.5294 GB 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004985/1.77, allocations: 2.17 MB / 0.6369 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002254/1.771, allocations: 127.9 kB / 0.637 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.771, allocations: 4.062 kB / 0.637 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.066e-05/1.771, allocations: 59.98 kB / 0.6371 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/1.771, allocations: 53.02 kB / 0.6371 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/1.774, allocations: 2.01 MB / 0.6391 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/1.774, allocations: 0.7193 MB / 0.6398 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.168e-05/1.774, allocations: 4 kB / 0.6398 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/1.774, allocations: 35.42 kB / 0.6398 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/1.774, allocations: 0 / 0.6398 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05625/1.83, allocations: 39.18 MB / 0.6781 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/1.831, allocations: 220.6 kB / 0.6783 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.754/5.584, allocations: 2.5 kB / 0.6783 GB, free: 1.828 MB / 0.5606 GB (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1)