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.7968/0.7968, allocations: 150.8 MB / 166.1 MB, free: 15.46 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.566e-05/1.558e-05, allocations: 0 / 204.9 MB, free: 9.98 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1675, allocations: 31.99 MB / 236.8 MB, free: 5.379 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h): time 1.625/1.792, allocations: 293.8 MB / 0.5182 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03745/1.83, allocations: 32.09 MB / 0.5496 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.913e-05/1.83, allocations: 3.938 kB / 0.5496 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/1.83, allocations: 111.5 kB / 0.5497 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.071e-05/1.83, allocations: 31.81 kB / 0.5497 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01632/1.847, allocations: 6.188 MB / 0.5557 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/1.847, allocations: 111.5 kB / 0.5558 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.322e-05/1.847, allocations: 19.97 kB / 0.5559 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/1.847, allocations: 71.47 kB / 0.5559 GB, free: 7.551 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/1.847, allocations: 31.8 kB / 0.556 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/1.847, allocations: 4 kB / 0.556 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02459/1.872, allocations: 14.67 MB / 0.5703 GB, free: 8.828 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/1.872, allocations: 11.94 kB / 0.5703 GB, free: 8.816 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/1.872, allocations: 65.48 kB / 0.5704 GB, free: 8.746 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01665/1.889, allocations: 7.131 MB / 0.5773 GB, free: 1.598 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.889, allocations: 7.938 kB / 0.5773 GB, free: 1.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/1.889, allocations: 0 / 0.5773 GB, free: 1.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/1.889, allocations: 0 / 0.5773 GB, free: 1.59 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.002915/1.892, allocations: 1.123 MB / 0.5784 GB, free: 428 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/1.892, allocations: 12.03 kB / 0.5784 GB, free: 416 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/1.892, allocations: 34.56 kB / 0.5785 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/1.892, allocations: 15.75 kB / 0.5785 GB, free: 356 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/1.892, allocations: 178.9 kB / 0.5787 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/1.892, allocations: 0 / 0.5787 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/1.892, allocations: 8 kB / 0.5787 GB, free: 128 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/1.892, allocations: 129.3 kB / 0.5788 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/1.892, allocations: 0 / 0.5788 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/1.892, allocations: 4 kB / 0.5788 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/1.892, allocations: 7.938 kB / 0.5788 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.928e-05/1.892, allocations: 55.91 kB / 0.5789 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03556/1.928, allocations: 15.61 MB / 0.5941 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/1.928, allocations: 78.56 kB / 0.5942 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/1.928, allocations: 60.91 kB / 0.5942 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07285/2.001, allocations: 40.78 MB / 0.6341 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/2.001, allocations: 34.55 kB / 0.6341 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 3.086e-06/2.001, allocations: 0 / 0.6341 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.0003173/2.001, allocations: 186.5 kB / 0.6343 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/2.001, allocations: 55.34 kB / 0.6343 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/2.001, allocations: 118.1 kB / 0.6344 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/2.001, allocations: 29.7 kB / 0.6345 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/2.002, allocations: 100.3 kB / 0.6346 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/2.002, allocations: 74.94 kB / 0.6346 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/2.002, allocations: 29.64 kB / 0.6347 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.968e-05/2.002, allocations: 322.8 kB / 0.635 GB, free: 396 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/2.002, allocations: 40.22 kB / 0.635 GB, free: 356 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/2.002, allocations: 93.58 kB / 0.6351 GB, free: 244 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/2.002, allocations: 137.1 kB / 0.6352 GB, free: 88 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/2.002, allocations: 0 / 0.6352 GB, free: 88 kB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002183/2.002, allocations: 189.4 kB / 0.6354 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/2.002, allocations: 4 kB / 0.6354 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/2.002, allocations: 0 / 0.6354 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/2.002, allocations: 4 kB / 0.6354 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/2.002, allocations: 23.86 kB / 0.6354 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/2.002, allocations: 0 / 0.6354 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.359e-05/2.002, allocations: 11.84 kB / 0.6354 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/2.002, allocations: 4 kB / 0.6354 GB, free: 15.85 MB / 0.5294 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.105e-05/2.003, allocations: 121.9 kB / 0.6356 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/2.003, allocations: 7.906 kB / 0.6356 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/2.003, allocations: 158.5 kB / 0.6357 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/2.003, allocations: 11.94 kB / 0.6357 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/2.003, allocations: 4 kB / 0.6357 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/2.003, allocations: 0 / 0.6357 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/2.003, allocations: 209.5 kB / 0.6359 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/2.003, allocations: 0 / 0.6359 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/2.003, allocations: 4 kB / 0.6359 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/2.003, allocations: 0 / 0.6359 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/2.003, allocations: 0 / 0.6359 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/2.003, allocations: 7.938 kB / 0.6359 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/2.003, allocations: 0 / 0.6359 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/2.003, allocations: 164.8 kB / 0.6361 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/2.003, allocations: 96.86 kB / 0.6362 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/2.003, allocations: 9.391 kB / 0.6362 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.778e-05/2.003, allocations: 3.938 kB / 0.6362 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/2.003, allocations: 7.984 kB / 0.6362 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/2.003, allocations: 0 / 0.6362 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.456e-05/2.003, allocations: 91.31 kB / 0.6363 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/2.003, allocations: 0 / 0.6363 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002289/2.006, allocations: 0.9877 MB / 0.6373 GB, free: 13.88 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.003995/2.01, allocations: 2.145 MB / 0.6394 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000189/2.01, allocations: 111.9 kB / 0.6395 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/2.01, allocations: 8.312 kB / 0.6395 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.343e-05/2.01, allocations: 55.98 kB / 0.6395 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/2.01, allocations: 49.08 kB / 0.6396 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/2.012, allocations: 2.04 MB / 0.6416 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/2.013, allocations: 0.7079 MB / 0.6423 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.413e-05/2.013, allocations: 16.06 kB / 0.6423 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/2.013, allocations: 23.44 kB / 0.6423 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/2.013, allocations: 0 / 0.6423 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.283/3.295, allocations: 38.26 MB / 0.6797 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/3.296, allocations: 223.2 kB / 0.6799 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.911/7.207, allocations: 0 / 0.6799 GB, free: 2.168 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)