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.9417/0.9417, allocations: 150.9 MB / 166.5 MB, free: 14.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.000422, allocations: 16.02 kB / 236.6 MB, free: 2.035 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07768/0.07812, allocations: 31.36 MB / 267.9 MB, free: 7.555 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.935/2.013, allocations: 294 MB / 0.5487 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04371/2.057, allocations: 30.41 MB / 0.5784 GB, free: 15.2 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/2.057, allocations: 0 / 0.5784 GB, free: 15.2 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007083/2.058, allocations: 190.1 kB / 0.5786 GB, free: 15.01 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/2.058, allocations: 51.69 kB / 0.5787 GB, free: 14.96 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.02471/2.083, allocations: 8.155 MB / 0.5866 GB, free: 6.797 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/2.083, allocations: 123.4 kB / 0.5868 GB, free: 6.676 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.736e-05/2.083, allocations: 28.97 kB / 0.5868 GB, free: 6.645 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/2.083, allocations: 79.53 kB / 0.5869 GB, free: 6.566 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/2.083, allocations: 35.8 kB / 0.5869 GB, free: 6.531 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/2.083, allocations: 0 / 0.5869 GB, free: 6.531 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02933/2.113, allocations: 14.7 MB / 0.6013 GB, free: 7.812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/2.113, allocations: 11.92 kB / 0.6013 GB, free: 7.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.762e-05/2.113, allocations: 43.75 kB / 0.6013 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02087/2.134, allocations: 7.266 MB / 0.6084 GB, free: 484 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.825e-05/2.134, allocations: 0 / 0.6084 GB, free: 484 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.149e-05/2.134, allocations: 0 / 0.6084 GB, free: 484 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.025e-05/2.134, allocations: 7.938 kB / 0.6084 GB, free: 476 kB / 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.003945/2.138, allocations: 1.184 MB / 0.6096 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/2.138, allocations: 12.03 kB / 0.6096 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/2.138, allocations: 46.48 kB / 0.6096 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/2.138, allocations: 15.89 kB / 0.6096 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/2.138, allocations: 174.9 kB / 0.6098 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/2.138, allocations: 8 kB / 0.6098 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/2.138, allocations: 4 kB / 0.6098 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/2.138, allocations: 97.48 kB / 0.6099 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/2.138, allocations: 0 / 0.6099 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/2.138, allocations: 0 / 0.6099 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/2.138, allocations: 11.92 kB / 0.6099 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/2.139, allocations: 111.9 kB / 0.61 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/2.139, allocations: 221.5 kB / 0.6102 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/2.139, allocations: 106.5 kB / 0.6103 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/2.139, allocations: 72.83 kB / 0.6104 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1283/2.267, allocations: 56.4 MB / 0.6655 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/2.267, allocations: 34.56 kB / 0.6655 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.524e-06/2.267, allocations: 0 / 0.6655 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.0005354/2.268, allocations: 230.3 kB / 0.6657 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/2.268, allocations: 55.41 kB / 0.6658 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/2.268, allocations: 97.8 kB / 0.6659 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/2.268, allocations: 33.7 kB / 0.6659 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/2.268, allocations: 80.7 kB / 0.666 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/2.268, allocations: 107.1 kB / 0.6661 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/2.268, allocations: 33.7 kB / 0.6661 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/2.269, allocations: 322.8 kB / 0.6664 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/2.269, allocations: 39.98 kB / 0.6665 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/2.269, allocations: 59.92 kB / 0.6665 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/2.269, allocations: 124.8 kB / 0.6666 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/2.269, allocations: 4 kB / 0.6666 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002182/2.269, allocations: 173.8 kB / 0.6668 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/2.269, allocations: 4 kB / 0.6668 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/2.269, allocations: 0 / 0.6668 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-05/2.269, allocations: 0 / 0.6668 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/2.27, allocations: 23.92 kB / 0.6668 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/2.27, allocations: 4 kB / 0.6668 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/2.27, allocations: 7.891 kB / 0.6669 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/2.27, allocations: 4 kB / 0.6669 GB, free: 14.24 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.123e-05/2.27, allocations: 126.3 kB / 0.667 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/2.27, allocations: 12.09 kB / 0.667 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004553/2.27, allocations: 210.6 kB / 0.6672 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.402e-05/2.27, allocations: 7.969 kB / 0.6672 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/2.27, allocations: 0 / 0.6672 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/2.27, allocations: 4 kB / 0.6672 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/2.27, allocations: 217.5 kB / 0.6674 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/2.27, allocations: 4 kB / 0.6674 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/2.271, allocations: 19.98 kB / 0.6674 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/2.271, allocations: 0 / 0.6674 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/2.271, allocations: 4 kB / 0.6674 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/2.271, allocations: 4 kB / 0.6674 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/2.271, allocations: 3.938 kB / 0.6674 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/2.271, allocations: 204.9 kB / 0.6676 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/2.271, allocations: 92.94 kB / 0.6677 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/2.271, allocations: 3.984 kB / 0.6677 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.339e-05/2.271, allocations: 8 kB / 0.6677 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/2.271, allocations: 8 kB / 0.6677 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/2.271, allocations: 3.984 kB / 0.6677 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.405e-05/2.271, allocations: 79.28 kB / 0.6678 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/2.271, allocations: 0 / 0.6678 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002906/2.274, allocations: 1.013 MB / 0.6688 GB, free: 12.13 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.005823/2.28, allocations: 2.208 MB / 0.671 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002996/2.28, allocations: 132.5 kB / 0.6711 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/2.28, allocations: 0 / 0.6711 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.916e-05/2.28, allocations: 80.12 kB / 0.6712 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/2.281, allocations: 57.48 kB / 0.6712 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/2.285, allocations: 1.999 MB / 0.6732 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/2.285, allocations: 0.7079 MB / 0.6739 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.729e-05/2.285, allocations: 16.64 kB / 0.6739 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/2.285, allocations: 27.44 kB / 0.6739 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/2.285, allocations: 0 / 0.6739 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2886/2.574, allocations: 39.92 MB / 0.7129 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/13.45, allocations: 10.91 kB / 0.7129 GB, free: 212.7 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)