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.818/0.818, allocations: 150.9 MB / 166.5 MB, free: 14.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003451, allocations: 19.8 kB / 236.6 MB, free: 2.043 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06014/0.0605, allocations: 31.35 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_h): time 1.574/1.635, allocations: 293.9 MB / 0.5486 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03327/1.668, allocations: 30.04 MB / 0.578 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.775e-05/1.668, allocations: 0 / 0.578 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004083/1.669, allocations: 144.4 kB / 0.5781 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/1.669, allocations: 39.69 kB / 0.5782 GB, free: 15.4 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02069/1.689, allocations: 7.971 MB / 0.5859 GB, free: 7.414 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/1.69, allocations: 123.4 kB / 0.5861 GB, free: 7.293 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.123e-05/1.69, allocations: 19.97 kB / 0.5861 GB, free: 7.273 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/1.69, allocations: 63.61 kB / 0.5861 GB, free: 7.211 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.634e-05/1.69, allocations: 39.78 kB / 0.5862 GB, free: 7.172 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/1.69, allocations: 4 kB / 0.5862 GB, free: 7.168 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02528/1.715, allocations: 14.65 MB / 0.6005 GB, free: 8.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/1.715, allocations: 3.938 kB / 0.6005 GB, free: 8.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.254e-05/1.715, allocations: 43.75 kB / 0.6005 GB, free: 8.457 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01706/1.732, allocations: 7.198 MB / 0.6076 GB, free: 1.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.732, allocations: 0 / 0.6076 GB, free: 1.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.864e-06/1.732, allocations: 0 / 0.6076 GB, free: 1.242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/1.732, allocations: 0 / 0.6076 GB, free: 1.242 MB / 494.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.003271/1.736, allocations: 1.135 MB / 0.6087 GB, free: 60 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.736, allocations: 11.97 kB / 0.6087 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/1.736, allocations: 42.62 kB / 0.6087 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/1.736, allocations: 15.84 kB / 0.6087 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/1.736, allocations: 167 kB / 0.6089 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/1.736, allocations: 4 kB / 0.6089 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/1.736, allocations: 7.938 kB / 0.6089 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/1.736, allocations: 131.5 kB / 0.609 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/1.736, allocations: 3.938 kB / 0.609 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/1.736, allocations: 3.984 kB / 0.609 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/1.736, allocations: 7.938 kB / 0.609 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/1.736, allocations: 55.91 kB / 0.6091 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0348/1.771, allocations: 15.58 MB / 0.6243 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/1.771, allocations: 90.42 kB / 0.6244 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/1.771, allocations: 60.91 kB / 0.6245 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07213/1.844, allocations: 40.65 MB / 0.6642 GB, free: 1.145 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/1.844, allocations: 30.56 kB / 0.6642 GB, free: 1.105 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 1.924e-06/1.844, allocations: 0 / 0.6642 GB, free: 1.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.0003227/1.844, allocations: 188.8 kB / 0.6644 GB, free: 0.918 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/1.844, allocations: 59.34 kB / 0.6644 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.754e-05/1.844, allocations: 113.8 kB / 0.6645 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/1.844, allocations: 33.7 kB / 0.6646 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/1.844, allocations: 100.2 kB / 0.6647 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/1.844, allocations: 74.84 kB / 0.6647 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/1.844, allocations: 33.7 kB / 0.6648 GB, free: 484 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/1.844, allocations: 318.8 kB / 0.6651 GB, free: 156 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.795e-05/1.844, allocations: 40.22 kB / 0.6651 GB, free: 116 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/1.845, allocations: 89.59 kB / 0.6652 GB, free: 8 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/1.845, allocations: 145.1 kB / 0.6653 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.845, allocations: 4 kB / 0.6653 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002159/1.845, allocations: 176.1 kB / 0.6655 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.845, allocations: 8 kB / 0.6655 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.845, allocations: 0 / 0.6655 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.845, allocations: 4 kB / 0.6655 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/1.845, allocations: 15.94 kB / 0.6655 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.845, allocations: 4 kB / 0.6655 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.707e-05/1.845, allocations: 19.69 kB / 0.6655 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/1.845, allocations: 7.984 kB / 0.6656 GB, free: 15.61 MB / 0.5606 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.677e-05/1.845, allocations: 122.5 kB / 0.6657 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/1.845, allocations: 7.906 kB / 0.6657 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/1.845, allocations: 154.7 kB / 0.6658 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.845, allocations: 15.92 kB / 0.6658 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.846, allocations: 0 / 0.6658 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.846, allocations: 3.938 kB / 0.6658 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/1.846, allocations: 205.5 kB / 0.666 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.846, allocations: 0 / 0.666 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/1.846, allocations: 11.94 kB / 0.6661 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.846, allocations: 4 kB / 0.6661 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/1.846, allocations: 0 / 0.6661 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.846, allocations: 3.938 kB / 0.6661 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.846, allocations: 0 / 0.6661 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/1.846, allocations: 164.3 kB / 0.6662 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/1.846, allocations: 85.02 kB / 0.6663 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/1.846, allocations: 3.984 kB / 0.6663 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.042e-05/1.846, allocations: 7.938 kB / 0.6663 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/1.846, allocations: 8 kB / 0.6663 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/1.846, allocations: 0 / 0.6663 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.078e-05/1.846, allocations: 91.27 kB / 0.6664 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.846, allocations: 0 / 0.6664 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002169/1.848, allocations: 0.9838 MB / 0.6674 GB, free: 13.66 MB / 0.5606 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.003745/1.852, allocations: 2.108 MB / 0.6694 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001945/1.852, allocations: 123.8 kB / 0.6695 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.852, allocations: 0 / 0.6695 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.722e-05/1.852, allocations: 63.86 kB / 0.6696 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/1.853, allocations: 51.23 kB / 0.6697 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/1.855, allocations: 2.003 MB / 0.6716 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/1.855, allocations: 0.708 MB / 0.6723 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.159e-05/1.855, allocations: 7.984 kB / 0.6723 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/1.855, allocations: 27.42 kB / 0.6723 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/1.855, allocations: 0 / 0.6723 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06344/1.919, allocations: 39.16 MB / 0.7106 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.997/10.92, allocations: 11.05 kB / 0.7106 GB, free: 1.324 MB / 0.5919 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)