Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.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_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",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.871/0.871, allocations: 150.9 MB / 166.5 MB, free: 14.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004924, allocations: 17.72 kB / 236.6 MB, free: 2.035 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05736/0.05787, 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_p): time 1.733/1.791, allocations: 294.5 MB / 0.5492 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0387/1.83, allocations: 30.42 MB / 0.5789 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/1.83, allocations: 0 / 0.5789 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004739/1.831, allocations: 147.3 kB / 0.5791 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/1.831, allocations: 35.75 kB / 0.5791 GB, free: 15.07 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.02161/1.852, allocations: 8.058 MB / 0.587 GB, free: 6.996 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/1.853, allocations: 131.3 kB / 0.5871 GB, free: 6.867 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.412e-05/1.853, allocations: 25.03 kB / 0.5871 GB, free: 6.844 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/1.853, allocations: 75.52 kB / 0.5872 GB, free: 6.77 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/1.853, allocations: 35.8 kB / 0.5872 GB, free: 6.734 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/1.853, allocations: 0 / 0.5872 GB, free: 6.734 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02957/1.883, allocations: 14.7 MB / 0.6016 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/1.883, allocations: 15.86 kB / 0.6016 GB, free: 7.996 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/1.883, allocations: 43.73 kB / 0.6017 GB, free: 7.953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01844/1.901, allocations: 7.266 MB / 0.6088 GB, free: 0.668 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/1.901, allocations: 4 kB / 0.6088 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/1.901, allocations: 4 kB / 0.6088 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/1.901, allocations: 0 / 0.6088 GB, free: 0.6602 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.003346/1.905, allocations: 1.189 MB / 0.6099 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.905, allocations: 12.03 kB / 0.6099 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/1.905, allocations: 46.48 kB / 0.61 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/1.905, allocations: 11.89 kB / 0.61 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/1.905, allocations: 171 kB / 0.6102 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/1.905, allocations: 4 kB / 0.6102 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/1.905, allocations: 8 kB / 0.6102 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/1.905, allocations: 93.59 kB / 0.6103 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/1.905, allocations: 3.938 kB / 0.6103 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/1.905, allocations: 4 kB / 0.6103 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/1.905, allocations: 11.92 kB / 0.6103 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/1.905, allocations: 107.9 kB / 0.6104 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/1.906, allocations: 221.5 kB / 0.6106 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/1.906, allocations: 102.5 kB / 0.6107 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.77e-05/1.906, allocations: 72.83 kB / 0.6108 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1234/2.029, allocations: 56.4 MB / 0.6658 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/2.029, allocations: 38.56 kB / 0.6659 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.264e-06/2.029, allocations: 0 / 0.6659 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.0004532/2.03, allocations: 230.3 kB / 0.6661 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/2.03, allocations: 55.41 kB / 0.6661 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/2.03, allocations: 101.8 kB / 0.6662 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/2.03, allocations: 25.7 kB / 0.6663 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/2.03, allocations: 80.7 kB / 0.6663 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-05/2.03, allocations: 103.1 kB / 0.6664 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/2.03, allocations: 37.7 kB / 0.6665 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001323/2.03, allocations: 318.8 kB / 0.6668 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/2.03, allocations: 51.97 kB / 0.6668 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/2.03, allocations: 47.98 kB / 0.6669 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/2.031, allocations: 136.7 kB / 0.667 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/2.031, allocations: 0 / 0.667 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002272/2.031, allocations: 169.8 kB / 0.6672 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/2.031, allocations: 8 kB / 0.6672 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/2.031, allocations: 0 / 0.6672 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/2.031, allocations: 7.938 kB / 0.6672 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.365e-05/2.031, allocations: 15.98 kB / 0.6672 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/2.031, allocations: 0 / 0.6672 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/2.031, allocations: 15.89 kB / 0.6672 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/2.031, allocations: 8 kB / 0.6672 GB, free: 14.43 MB / 0.5606 GB 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): 10 * 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 8.911e-05/2.031, allocations: 118.3 kB / 0.6673 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/2.031, allocations: 11.91 kB / 0.6673 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/2.032, allocations: 206.7 kB / 0.6675 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/2.032, allocations: 3.984 kB / 0.6675 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/2.032, allocations: 4 kB / 0.6675 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/2.032, allocations: 0 / 0.6675 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/2.032, allocations: 221.7 kB / 0.6678 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/2.032, allocations: 0 / 0.6678 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/2.032, allocations: 19.98 kB / 0.6678 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/2.032, allocations: 3.984 kB / 0.6678 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/2.032, allocations: 0 / 0.6678 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/2.032, allocations: 0 / 0.6678 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/2.032, allocations: 4 kB / 0.6678 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/2.032, allocations: 212.8 kB / 0.668 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/2.032, allocations: 89 kB / 0.6681 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/2.032, allocations: 4 kB / 0.6681 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.895e-05/2.032, allocations: 0 / 0.6681 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/2.032, allocations: 7.984 kB / 0.6681 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/2.032, allocations: 4 kB / 0.6681 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.739e-05/2.032, allocations: 87.27 kB / 0.6682 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/2.032, allocations: 0 / 0.6682 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002453/2.035, allocations: 1.013 MB / 0.6692 GB, free: 12.33 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 (12): * Single equations (assignments): 10 * 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.005101/2.04, allocations: 2.212 MB / 0.6713 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003029/2.04, allocations: 131.9 kB / 0.6714 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/2.04, allocations: 0 / 0.6714 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/2.04, allocations: 79.91 kB / 0.6715 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/2.041, allocations: 60.66 kB / 0.6716 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/2.044, allocations: 2 MB / 0.6735 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/2.044, allocations: 0.7079 MB / 0.6742 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.659e-05/2.044, allocations: 16.66 kB / 0.6742 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/2.044, allocations: 31.42 kB / 0.6743 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/2.044, allocations: 4 kB / 0.6743 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2639/2.308, allocations: 39.92 MB / 0.7133 GB, free: 212.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/12.34, allocations: 3.609 kB / 0.7133 GB, free: 212.6 MB / 0.5919 GB (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1)