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.8551/0.8551, allocations: 150.9 MB / 166.5 MB, free: 14.37 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004883, allocations: 15.7 kB / 236.6 MB, free: 2.035 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05156/0.05207, allocations: 31.34 MB / 267.9 MB, free: 7.57 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_T): time 1.658/1.71, allocations: 294.1 MB / 0.5489 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004262/1.714, allocations: 3.278 MB / 0.5521 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/1.714, allocations: 0 / 0.5521 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/1.714, allocations: 7.938 kB / 0.5521 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.671e-05/1.714, allocations: 19.84 kB / 0.5521 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/1.715, allocations: 429.8 kB / 0.5525 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/1.716, allocations: 55.66 kB / 0.5526 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.527e-05/1.716, allocations: 15.98 kB / 0.5526 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.725e-05/1.716, allocations: 27.91 kB / 0.5526 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/1.716, allocations: 19.92 kB / 0.5526 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/1.716, allocations: 7.938 kB / 0.5526 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000765/1.717, allocations: 351.6 kB / 0.553 GB, free: 9.707 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/1.717, allocations: 11.92 kB / 0.553 GB, free: 9.695 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/1.717, allocations: 27.92 kB / 0.553 GB, free: 9.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006491/1.717, allocations: 374.1 kB / 0.5534 GB, free: 9.309 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.717, allocations: 0 / 0.5534 GB, free: 9.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/1.717, allocations: 3.938 kB / 0.5534 GB, free: 9.305 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/1.717, allocations: 0 / 0.5534 GB, free: 9.305 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.0005606/1.718, allocations: 414.7 kB / 0.5538 GB, free: 8.852 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/1.718, allocations: 8.031 kB / 0.5538 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/1.718, allocations: 38.75 kB / 0.5538 GB, free: 8.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/1.718, allocations: 8.891 kB / 0.5538 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/1.718, allocations: 168.4 kB / 0.554 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/1.718, allocations: 4.375 kB / 0.554 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/1.718, allocations: 4.375 kB / 0.554 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/1.718, allocations: 65.8 kB / 0.554 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.718, allocations: 0 / 0.554 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/1.718, allocations: 3.938 kB / 0.5541 GB, free: 8.504 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/1.718, allocations: 0 / 0.5541 GB, free: 8.504 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/1.719, allocations: 87.89 kB / 0.5541 GB, free: 8.418 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/1.719, allocations: 189.5 kB / 0.5543 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/1.719, allocations: 74.55 kB / 0.5544 GB, free: 8.102 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/1.719, allocations: 32.84 kB / 0.5544 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002175/1.721, allocations: 2.624 MB / 0.557 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/1.721, allocations: 42.5 kB / 0.557 GB, free: 4.801 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.803e-06/1.721, allocations: 3.938 kB / 0.557 GB, free: 4.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002968/1.722, allocations: 106 kB / 0.5571 GB, free: 4.688 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/1.722, allocations: 59.34 kB / 0.5572 GB, free: 4.617 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/1.722, allocations: 101.8 kB / 0.5573 GB, free: 4.508 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/1.722, allocations: 25.7 kB / 0.5573 GB, free: 4.477 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/1.722, allocations: 84.14 kB / 0.5574 GB, free: 4.391 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/1.722, allocations: 39.69 kB / 0.5574 GB, free: 4.352 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/1.722, allocations: 25.72 kB / 0.5574 GB, free: 4.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/1.722, allocations: 318.8 kB / 0.5578 GB, free: 4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/1.722, allocations: 16 kB / 0.5578 GB, free: 3.984 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/1.722, allocations: 19.98 kB / 0.5578 GB, free: 3.965 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/1.722, allocations: 56.78 kB / 0.5578 GB, free: 3.906 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.722, allocations: 0 / 0.5578 GB, free: 3.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001553/1.722, allocations: 94.17 kB / 0.5579 GB, free: 3.809 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/1.722, allocations: 11.98 kB / 0.5579 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.722, allocations: 0 / 0.5579 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/1.722, allocations: 8 kB / 0.558 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/1.723, allocations: 16 kB / 0.558 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.723, allocations: 0 / 0.558 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/1.723, allocations: 11.88 kB / 0.558 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/1.723, allocations: 7.984 kB / 0.558 GB, free: 3.754 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 8.329e-05/1.723, allocations: 114.4 kB / 0.5581 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/1.723, allocations: 11.89 kB / 0.5581 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/1.723, allocations: 133.4 kB / 0.5582 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/1.723, allocations: 4 kB / 0.5582 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.723, allocations: 3.938 kB / 0.5582 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/1.723, allocations: 0 / 0.5582 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/1.723, allocations: 181.6 kB / 0.5584 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.723, allocations: 0 / 0.5584 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.473e-05/1.723, allocations: 27.86 kB / 0.5584 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.723, allocations: 0 / 0.5584 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/1.723, allocations: 4 kB / 0.5584 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/1.723, allocations: 0 / 0.5584 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.723, allocations: 4 kB / 0.5584 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/1.724, allocations: 125.1 kB / 0.5586 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/1.724, allocations: 88.94 kB / 0.5587 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/1.724, allocations: 11.98 kB / 0.5587 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.559e-05/1.724, allocations: 0 / 0.5587 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/1.724, allocations: 11.88 kB / 0.5587 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/1.724, allocations: 11.98 kB / 0.5587 GB, free: 2.934 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.428e-05/1.724, allocations: 83.28 kB / 0.5588 GB, free: 2.852 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.724, allocations: 0 / 0.5588 GB, free: 2.852 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003609/1.724, allocations: 111.7 kB / 0.5589 GB, free: 2.742 MB / 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 (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.0009119/1.725, allocations: 0.857 MB / 0.5597 GB, free: 1.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001568/1.725, allocations: 59.86 kB / 0.5598 GB, free: 1.801 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.725, allocations: 4 kB / 0.5598 GB, free: 1.797 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.608e-05/1.725, allocations: 43.91 kB / 0.5598 GB, free: 1.754 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/1.726, allocations: 16 kB / 0.5598 GB, free: 1.738 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/1.727, allocations: 1.351 MB / 0.5611 GB, free: 316 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/1.727, allocations: 0.6846 MB / 0.5618 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.828e-05/1.727, allocations: 16.41 kB / 0.5618 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/1.727, allocations: 31.38 kB / 0.5619 GB, free: 15.55 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/1.727, allocations: 0 / 0.5619 GB, free: 15.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/1.754, allocations: 5.235 MB / 0.567 GB, free: 10.44 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/9.6, allocations: 2.75 kB / 0.567 GB, free: 10.44 MB / 462.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_T_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_T.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe 2>&1)