Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.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: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8221/0.8221, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 14.75 kB / 237.8 MB, free: 1.785 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06542/0.06578, allocations: 31.35 MB / 269.1 MB, free: 7.035 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.Fluid.Examples.SimpleExamples.TestAirHumidity): time 1.69/1.756, allocations: 295.3 MB / 0.5512 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5914/2.347, allocations: 188.8 MB / 0.7356 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004172/2.348, allocations: 10.19 kB / 0.7356 GB, free: 1.695 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/AirHumidity.mo:39:3-40:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/AirHumidity.mo:47:3-48:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004491/2.348, allocations: 121.7 kB / 0.7357 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004225/2.349, allocations: 164.2 kB / 0.7359 GB, free: 1.695 MB / 0.5919 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.03633/2.385, allocations: 11.93 MB / 0.7476 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008889/2.386, allocations: 0.5767 MB / 0.7481 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003815/2.386, allocations: 302 kB / 0.7484 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/2.387, allocations: 240.2 kB / 0.7486 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/2.387, allocations: 256.9 kB / 0.7489 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/2.387, allocations: 54.55 kB / 0.7489 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04261/2.429, allocations: 21.85 MB / 0.7703 GB, free: 8 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000355/2.43, allocations: 115.1 kB / 0.7704 GB, free: 0 / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006404/2.431, allocations: 273.9 kB / 0.7706 GB, free: 0 / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.04049/2.471, allocations: 10.46 MB / 0.7809 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/2.471, allocations: 0 / 0.7809 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.605e-06/2.471, allocations: 0.75 kB / 0.7809 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.283e-05/2.471, allocations: 0 / 0.7809 GB, free: 12.15 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00731/2.478, allocations: 1.934 MB / 0.7827 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/2.479, allocations: 7.938 kB / 0.7828 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/2.479, allocations: 60.19 kB / 0.7828 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/2.479, allocations: 340.3 kB / 0.7831 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/2.479, allocations: 41.34 kB / 0.7832 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.608e-05/2.479, allocations: 50.25 kB / 0.7832 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009802/2.48, allocations: 0.5456 MB / 0.7838 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/2.48, allocations: 0 / 0.7838 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/2.48, allocations: 23.28 kB / 0.7838 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/2.48, allocations: 17.14 kB / 0.7838 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/2.481, allocations: 369.7 kB / 0.7841 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/2.484, allocations: 2.923 MB / 0.787 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/2.485, allocations: 154.8 kB / 0.7871 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/2.485, allocations: 83.72 kB / 0.7872 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3435/2.828, allocations: 183.2 MB / 0.9661 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.001e-05/2.829, allocations: 37.75 kB / 0.9662 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=26): time 2.755e-06/2.829, allocations: 0 / 0.9662 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26): time 0.002034/2.831, allocations: 0.636 MB / 0.9668 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/2.831, allocations: 55.41 kB / 0.9668 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/2.831, allocations: 332.4 kB / 0.9671 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/2.831, allocations: 29.7 kB / 0.9672 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/2.831, allocations: 274.3 kB / 0.9674 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/2.832, allocations: 98.48 kB / 0.9675 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/2.832, allocations: 69.69 kB / 0.9676 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000172/2.832, allocations: 338.8 kB / 0.9679 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/2.832, allocations: 92.08 kB / 0.968 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/2.832, allocations: 201.9 kB / 0.9682 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/2.833, allocations: 325.2 kB / 0.9685 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/2.833, allocations: 0 / 0.9685 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009041/2.834, allocations: 450.1 kB / 0.9689 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/2.834, allocations: 12 kB / 0.969 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/2.834, allocations: 7.828 kB / 0.969 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009765/2.835, allocations: 254.9 kB / 0.9692 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/2.835, allocations: 51.06 kB / 0.9693 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/2.836, allocations: 1.248 MB / 0.9705 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/2.836, allocations: 39.53 kB / 0.9705 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/2.836, allocations: 28 kB / 0.9705 GB, free: 10.72 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 (sourceFlueGasesPQ.fluid1,sourceFlueGasesPQ.C.ftype,airHumidity.fluid,singularPressureLoss.fluid,sinkFlueGases.fluid,singularPressureLoss.C2.diff_on_1,airHumidity.C1.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002263/2.836, allocations: 171.5 kB / 0.9707 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/2.837, allocations: 32.66 kB / 0.9707 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000868/2.837, allocations: 496.7 kB / 0.9712 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006213/2.838, allocations: 359.2 kB / 0.9715 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/2.838, allocations: 5.094 kB / 0.9715 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/2.838, allocations: 0 / 0.9715 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/2.84, allocations: 1.01 MB / 0.9725 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/2.84, allocations: 0 / 0.9725 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/2.84, allocations: 28.02 kB / 0.9726 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006944/2.84, allocations: 235 kB / 0.9728 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/2.84, allocations: 5.438 kB / 0.9728 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009321/2.841, allocations: 1.26 MB / 0.974 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/2.841, allocations: 0 / 0.974 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007109/2.842, allocations: 0.4893 MB / 0.9745 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.611e-05/2.842, allocations: 108.7 kB / 0.9746 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/2.842, allocations: 12.22 kB / 0.9746 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/2.842, allocations: 8 kB / 0.9746 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/2.842, allocations: 25.03 kB / 0.9746 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/2.842, allocations: 4 kB / 0.9747 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002389/2.843, allocations: 224.3 kB / 0.9749 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/2.843, allocations: 0 / 0.9749 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00483/2.848, allocations: 1.518 MB / 0.9763 GB, free: 4.633 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (4,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006354/2.854, allocations: 2.247 MB / 0.9785 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001043/2.855, allocations: 357.5 kB / 0.9789 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/2.855, allocations: 0.9375 kB / 0.9789 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004969/2.856, allocations: 186.6 kB / 0.9791 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007553/2.856, allocations: 149.7 kB / 0.9792 GB, free: 2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/2.858, allocations: 0.7746 MB / 0.98 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/2.858, allocations: 0.8274 MB / 0.9808 GB, free: 352 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/2.858, allocations: 31.44 kB / 0.9808 GB, free: 320 kB / 0.8106 GB Notification: Performance of SimCode: time 8.61e-07/2.858, allocations: 4 kB / 0.9808 GB, free: 316 kB / 0.8106 GB Notification: Performance of Templates: time 0.2682/3.126, allocations: 33.69 MB / 1.014 GB, free: 460.5 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1)