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.7741/0.7741, allocations: 150.9 MB / 166.5 MB, free: 14.37 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003239, allocations: 16.31 kB / 236.6 MB, free: 2.027 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05358/0.05393, allocations: 31.34 MB / 267.9 MB, free: 7.562 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.597/1.651, allocations: 293.6 MB / 0.5484 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00446/1.656, allocations: 3.69 MB / 0.552 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/1.656, allocations: 0 / 0.552 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/1.656, allocations: 3.938 kB / 0.552 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.598e-05/1.656, allocations: 15.84 kB / 0.552 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002035/1.658, allocations: 0.723 MB / 0.5527 GB, free: 9.566 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/1.658, allocations: 59.66 kB / 0.5528 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.22e-05/1.658, allocations: 17.25 kB / 0.5528 GB, free: 9.492 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/1.658, allocations: 27.91 kB / 0.5528 GB, free: 9.465 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/1.658, allocations: 27.92 kB / 0.5528 GB, free: 9.438 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/1.658, allocations: 0 / 0.5528 GB, free: 9.438 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/1.66, allocations: 0.6125 MB / 0.5534 GB, free: 8.824 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/1.66, allocations: 11.94 kB / 0.5535 GB, free: 8.812 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/1.66, allocations: 27.91 kB / 0.5535 GB, free: 8.785 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009845/1.661, allocations: 0.6048 MB / 0.5541 GB, free: 8.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.661, allocations: 0 / 0.5541 GB, free: 8.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/1.661, allocations: 0 / 0.5541 GB, free: 8.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/1.661, 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.0005249/1.661, allocations: 439 kB / 0.5545 GB, free: 7.703 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/1.661, allocations: 8.031 kB / 0.5545 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/1.661, allocations: 38.55 kB / 0.5545 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/1.661, allocations: 4 kB / 0.5545 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/1.662, allocations: 178.8 kB / 0.5547 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/1.662, allocations: 4 kB / 0.5547 GB, free: 7.426 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/1.662, allocations: 4 kB / 0.5547 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/1.662, allocations: 61.66 kB / 0.5548 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/1.662, allocations: 3.938 kB / 0.5548 GB, free: 7.352 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/1.662, allocations: 12 kB / 0.5548 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/1.662, allocations: 0 / 0.5548 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/1.662, allocations: 63.94 kB / 0.5548 GB, free: 7.277 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/1.662, allocations: 435 kB / 0.5553 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/1.662, allocations: 62.56 kB / 0.5553 GB, free: 6.695 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/1.663, allocations: 33.03 kB / 0.5554 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002645/1.665, allocations: 3.309 MB / 0.5586 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/1.665, allocations: 30.56 kB / 0.5586 GB, free: 2.594 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/1.665, allocations: 0 / 0.5586 GB, free: 2.594 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002679/1.666, allocations: 109.5 kB / 0.5587 GB, free: 2.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/1.666, allocations: 55.41 kB / 0.5588 GB, free: 2.414 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/1.666, allocations: 105.8 kB / 0.5589 GB, free: 2.301 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/1.666, allocations: 25.7 kB / 0.5589 GB, free: 2.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/1.666, allocations: 88.05 kB / 0.559 GB, free: 2.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/1.666, allocations: 31.55 kB / 0.559 GB, free: 2.148 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/1.666, allocations: 29.7 kB / 0.559 GB, free: 2.113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/1.666, allocations: 314.8 kB / 0.5593 GB, free: 1.797 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.981e-05/1.666, allocations: 23.98 kB / 0.5594 GB, free: 1.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.242e-05/1.666, allocations: 23.98 kB / 0.5594 GB, free: 1.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.978e-05/1.666, allocations: 56.95 kB / 0.5594 GB, free: 1.691 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.666, allocations: 112 / 0.5594 GB, free: 1.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001485/1.666, allocations: 97.52 kB / 0.5595 GB, free: 1.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/1.666, allocations: 5.562 kB / 0.5595 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.666, allocations: 3.938 kB / 0.5595 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/1.666, allocations: 384 / 0.5595 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/1.666, allocations: 20.23 kB / 0.5596 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/1.666, allocations: 4 kB / 0.5596 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/1.666, allocations: 15.84 kB / 0.5596 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/1.666, allocations: 11.94 kB / 0.5596 GB, free: 1.531 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.98e-05/1.667, allocations: 110.3 kB / 0.5597 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/1.667, allocations: 8 kB / 0.5597 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/1.667, allocations: 125.8 kB / 0.5598 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.667, allocations: 0 / 0.5598 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/1.667, allocations: 4 kB / 0.5598 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/1.667, allocations: 0 / 0.5598 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/1.667, allocations: 181.6 kB / 0.56 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.667, allocations: 0 / 0.56 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.432e-05/1.667, allocations: 23.92 kB / 0.56 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/1.667, allocations: 0 / 0.56 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/1.667, allocations: 7.938 kB / 0.56 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.667, allocations: 4 kB / 0.56 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.667, allocations: 0 / 0.56 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/1.667, allocations: 187.4 kB / 0.5602 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-05/1.667, allocations: 81.11 kB / 0.5603 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/1.667, allocations: 3.938 kB / 0.5603 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.35e-05/1.668, allocations: 4 kB / 0.5603 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/1.668, allocations: 7.984 kB / 0.5603 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/1.668, allocations: 4 kB / 0.5603 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.472e-05/1.668, allocations: 83.28 kB / 0.5604 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.668, allocations: 0 / 0.5604 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004659/1.668, allocations: 167.8 kB / 0.5606 GB, free: 456 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.0009634/1.669, allocations: 1.032 MB / 0.5616 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001446/1.669, allocations: 67.8 kB / 0.5616 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.669, allocations: 0 / 0.5616 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.737e-05/1.669, allocations: 31.92 kB / 0.5617 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/1.67, allocations: 21.55 kB / 0.5617 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/1.671, allocations: 1.43 MB / 0.5631 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/1.671, allocations: 0.6922 MB / 0.5637 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.33e-05/1.671, allocations: 20.34 kB / 0.5638 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/1.671, allocations: 23.44 kB / 0.5638 GB, free: 13 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/1.671, allocations: 0 / 0.5638 GB, free: 13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/1.696, allocations: 7.097 MB / 0.5707 GB, free: 6.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.449/9.145, allocations: 2.875 kB / 0.5707 GB, free: 6.02 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_d_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_d.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe 2>&1)