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.8631/0.8631, allocations: 150.9 MB / 166.5 MB, free: 14.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004987/0.0004987, allocations: 16.03 kB / 236.6 MB, free: 2.023 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05721/0.05773, 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.739/1.797, allocations: 294.5 MB / 0.5492 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03854/1.835, allocations: 30.02 MB / 0.5785 GB, free: 15.53 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/1.835, allocations: 4 kB / 0.5785 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004267/1.836, allocations: 143.3 kB / 0.5787 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.453e-05/1.836, allocations: 39.69 kB / 0.5787 GB, free: 15.34 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.02028/1.856, allocations: 7.986 MB / 0.5865 GB, free: 7.352 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/1.856, allocations: 119.5 kB / 0.5866 GB, free: 7.234 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.684e-05/1.857, allocations: 15.98 kB / 0.5866 GB, free: 7.219 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/1.857, allocations: 67.53 kB / 0.5867 GB, free: 7.152 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.973e-05/1.857, allocations: 39.78 kB / 0.5867 GB, free: 7.113 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/1.857, allocations: 4 kB / 0.5868 GB, free: 7.109 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02753/1.884, allocations: 14.65 MB / 0.6011 GB, free: 8.441 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/1.884, allocations: 11.92 kB / 0.6011 GB, free: 8.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.414e-05/1.884, allocations: 39.75 kB / 0.6011 GB, free: 8.391 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01521/1.9, allocations: 7.2 MB / 0.6081 GB, free: 1.172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.9, allocations: 0 / 0.6081 GB, free: 1.172 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.074e-06/1.9, allocations: 0 / 0.6081 GB, free: 1.172 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/1.9, allocations: 0 / 0.6081 GB, free: 1.172 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.003202/1.903, allocations: 1.187 MB / 0.6093 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/1.903, allocations: 12.03 kB / 0.6093 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.474e-05/1.903, allocations: 46.55 kB / 0.6094 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/1.903, allocations: 7.891 kB / 0.6094 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/1.903, allocations: 174.9 kB / 0.6095 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/1.903, allocations: 4 kB / 0.6095 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/1.903, allocations: 4 kB / 0.6095 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/1.904, allocations: 131.5 kB / 0.6097 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.904, allocations: 0 / 0.6097 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/1.904, allocations: 0 / 0.6097 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/1.904, allocations: 11.92 kB / 0.6097 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/1.904, allocations: 59.91 kB / 0.6097 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04112/1.945, allocations: 15.57 MB / 0.6249 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/1.945, allocations: 78.56 kB / 0.625 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-05/1.945, allocations: 52.91 kB / 0.6251 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08732/2.033, allocations: 40.67 MB / 0.6648 GB, free: 1.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/2.033, allocations: 46.5 kB / 0.6648 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 2.315e-06/2.033, allocations: 0 / 0.6648 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.0003653/2.033, allocations: 180.9 kB / 0.665 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/2.033, allocations: 55.34 kB / 0.665 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/2.033, allocations: 113.8 kB / 0.6652 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/2.033, allocations: 30.08 kB / 0.6652 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/2.033, allocations: 100.4 kB / 0.6653 GB, free: 472 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.892e-05/2.033, allocations: 79.27 kB / 0.6654 GB, free: 392 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/2.033, allocations: 29.7 kB / 0.6654 GB, free: 356 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001418/2.034, allocations: 334.8 kB / 0.6657 GB, free: 12 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/2.034, allocations: 44.16 kB / 0.6657 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/2.034, allocations: 81.59 kB / 0.6658 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/2.034, allocations: 141.1 kB / 0.666 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/2.034, allocations: 0 / 0.666 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002599/2.034, allocations: 176.2 kB / 0.6661 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/2.034, allocations: 4 kB / 0.6661 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/2.034, allocations: 3.984 kB / 0.6661 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/2.034, allocations: 8.156 kB / 0.6661 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/2.034, allocations: 19.88 kB / 0.6662 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/2.034, allocations: 0 / 0.6662 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.394e-05/2.034, allocations: 19.78 kB / 0.6662 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/2.034, allocations: 4 kB / 0.6662 GB, free: 15.48 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 9.68e-05/2.035, allocations: 118.4 kB / 0.6663 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/2.035, allocations: 7.953 kB / 0.6663 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/2.035, allocations: 170.1 kB / 0.6665 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/2.035, allocations: 7.922 kB / 0.6665 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/2.035, allocations: 4 kB / 0.6665 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/2.035, allocations: 0 / 0.6665 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/2.035, allocations: 205.5 kB / 0.6667 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/2.035, allocations: 0 / 0.6667 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/2.035, allocations: 4.188 kB / 0.6667 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/2.035, allocations: 0 / 0.6667 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/2.035, allocations: 8 kB / 0.6667 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/2.035, allocations: 3.938 kB / 0.6667 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/2.035, allocations: 0 / 0.6667 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/2.035, allocations: 172.3 kB / 0.6669 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/2.035, allocations: 92.95 kB / 0.6669 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/2.035, allocations: 0 / 0.6669 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.109e-05/2.035, allocations: 3.938 kB / 0.6669 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/2.036, allocations: 7.984 kB / 0.667 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/2.036, allocations: 0 / 0.667 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.23e-05/2.036, allocations: 95.3 kB / 0.667 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/2.036, allocations: 4 kB / 0.667 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002789/2.038, allocations: 0.9977 MB / 0.668 GB, free: 13.5 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.00526/2.044, allocations: 2.107 MB / 0.6701 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003217/2.044, allocations: 127.7 kB / 0.6702 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/2.044, allocations: 0 / 0.6702 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.327e-05/2.044, allocations: 59.92 kB / 0.6703 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/2.045, allocations: 64.06 kB / 0.6703 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/2.048, allocations: 2.005 MB / 0.6723 GB, free: 9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/2.048, allocations: 0.7001 MB / 0.673 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.94e-05/2.048, allocations: 15.98 kB / 0.673 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/2.048, allocations: 23.44 kB / 0.673 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/2.048, allocations: 0 / 0.673 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07662/2.125, allocations: 39.13 MB / 0.7112 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/12.19, allocations: 0 / 0.7112 GB, free: 1.191 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 & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h_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_h.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1)