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.8298/0.8298, allocations: 150.9 MB / 167.2 MB, free: 14.56 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 21.95 kB / 237.8 MB, free: 1.777 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06056/0.06093, allocations: 31.34 MB / 269.1 MB, free: 7.066 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.71/1.771, allocations: 295.4 MB / 0.5513 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5865/2.357, allocations: 188.8 MB / 0.7356 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003704/2.358, allocations: 9.75 kB / 0.7356 GB, free: 1.73 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.0004141/2.358, allocations: 122.9 kB / 0.7358 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003539/2.359, allocations: 166.1 kB / 0.7359 GB, free: 1.73 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.03241/2.391, allocations: 11.94 MB / 0.7476 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007397/2.392, allocations: 0.571 MB / 0.7481 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/2.392, allocations: 302.6 kB / 0.7484 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/2.392, allocations: 247.6 kB / 0.7487 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/2.393, allocations: 250 kB / 0.7489 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/2.393, allocations: 52.88 kB / 0.749 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03844/2.431, allocations: 21.85 MB / 0.7703 GB, free: 60 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/2.431, allocations: 114.4 kB / 0.7704 GB, free: 44 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000447/2.432, allocations: 271.9 kB / 0.7707 GB, free: 28 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02959/2.461, allocations: 10.44 MB / 0.7809 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/2.462, allocations: 0 / 0.7809 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.756e-06/2.462, allocations: 0 / 0.7809 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.565e-05/2.462, allocations: 2.125 kB / 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.007073/2.469, allocations: 1.933 MB / 0.7827 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/2.469, allocations: 11.64 kB / 0.7828 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/2.469, allocations: 59.94 kB / 0.7828 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/2.469, allocations: 335.2 kB / 0.7831 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/2.47, allocations: 39.75 kB / 0.7832 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/2.47, allocations: 50.44 kB / 0.7832 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/2.471, allocations: 0.551 MB / 0.7838 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/2.471, allocations: 6.688 kB / 0.7838 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/2.471, allocations: 20.59 kB / 0.7838 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/2.471, allocations: 19.05 kB / 0.7838 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/2.471, allocations: 363.9 kB / 0.7842 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/2.475, allocations: 2.921 MB / 0.787 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/2.475, allocations: 150.2 kB / 0.7871 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/2.475, allocations: 89.34 kB / 0.7872 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3504/2.826, allocations: 183.2 MB / 0.9661 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/2.826, allocations: 42.55 kB / 0.9662 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=26): time 4.539e-06/2.826, allocations: 0 / 0.9662 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26): time 0.001892/2.828, allocations: 0.6414 MB / 0.9668 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/2.828, allocations: 55.41 kB / 0.9668 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/2.828, allocations: 328.4 kB / 0.9672 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/2.828, allocations: 29.7 kB / 0.9672 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/2.828, allocations: 270.7 kB / 0.9674 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.932e-05/2.829, allocations: 88.77 kB / 0.9675 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/2.829, allocations: 77.67 kB / 0.9676 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001233/2.829, allocations: 338.8 kB / 0.9679 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/2.829, allocations: 92.08 kB / 0.968 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/2.829, allocations: 212.8 kB / 0.9682 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/2.83, allocations: 313.4 kB / 0.9685 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/2.83, allocations: 4 kB / 0.9685 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009822/2.831, allocations: 449 kB / 0.9689 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/2.831, allocations: 9.875 kB / 0.969 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/2.831, allocations: 4 kB / 0.969 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/2.832, allocations: 267.6 kB / 0.9692 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/2.832, allocations: 39.08 kB / 0.9693 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/2.833, allocations: 1.261 MB / 0.9705 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/2.833, allocations: 44.67 kB / 0.9705 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/2.833, allocations: 19.94 kB / 0.9705 GB, free: 10.82 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.0002117/2.834, allocations: 169 kB / 0.9707 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/2.834, allocations: 35.61 kB / 0.9707 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009089/2.835, allocations: 492 kB / 0.9712 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006345/2.835, allocations: 366.8 kB / 0.9716 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/2.835, allocations: 1.438 kB / 0.9716 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/2.835, allocations: 0 / 0.9716 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/2.837, allocations: 1.014 MB / 0.9725 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/2.837, allocations: 0 / 0.9725 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.431e-05/2.837, allocations: 27.08 kB / 0.9726 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007147/2.838, allocations: 229.5 kB / 0.9728 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/2.838, allocations: 7.984 kB / 0.9728 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009594/2.839, allocations: 1.253 MB / 0.974 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/2.839, allocations: 4.031 kB / 0.974 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007711/2.84, allocations: 0.4929 MB / 0.9745 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/2.84, allocations: 113.8 kB / 0.9746 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/2.84, allocations: 11.94 kB / 0.9746 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/2.84, allocations: 8 kB / 0.9746 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/2.84, allocations: 15.97 kB / 0.9747 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/2.84, allocations: 8.688 kB / 0.9747 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002428/2.84, allocations: 223.1 kB / 0.9749 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.31e-07/2.84, allocations: 0 / 0.9749 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004761/2.845, allocations: 1.518 MB / 0.9764 GB, free: 4.727 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.008967/2.854, allocations: 2.249 MB / 0.9786 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001208/2.855, allocations: 358.4 kB / 0.9789 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/2.855, allocations: 0 / 0.9789 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000555/2.856, allocations: 182.9 kB / 0.9791 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008769/2.857, allocations: 153.2 kB / 0.9792 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/2.858, allocations: 0.7667 MB / 0.98 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/2.859, allocations: 0.8274 MB / 0.9808 GB, free: 456 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/2.859, allocations: 35.44 kB / 0.9808 GB, free: 420 kB / 0.8106 GB Notification: Performance of SimCode: time 6.92e-07/2.859, allocations: 1.094 kB / 0.9808 GB, free: 420 kB / 0.8106 GB Notification: Performance of Templates: time 0.3006/3.159, allocations: 33.62 MB / 1.014 GB, free: 460.9 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)