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.8734/0.8734, allocations: 150.9 MB / 166.7 MB, free: 14.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003947, allocations: 15.98 kB / 204.8 MB, free: 10.08 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 31.33 MB / 236.1 MB, free: 5.445 MB / 190.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.93/2.143, allocations: 294.3 MB / 0.518 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2275/2.37, allocations: 186.9 MB / 0.7005 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005386/2.371, allocations: 7.938 kB / 0.7005 GB, free: 1.465 MB / 0.5762 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.0005979/2.371, allocations: 104.6 kB / 0.7006 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000703/2.372, allocations: 138.9 kB / 0.7007 GB, free: 1.227 MB / 0.5762 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.4407/2.813, allocations: 10.5 MB / 0.711 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001059/2.814, allocations: 0.5687 MB / 0.7115 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004599/2.814, allocations: 307.3 kB / 0.7118 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/2.815, allocations: 238 kB / 0.712 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/2.815, allocations: 253.7 kB / 0.7123 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/2.815, allocations: 50.59 kB / 0.7123 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04108/2.856, allocations: 21.77 MB / 0.7336 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/2.857, allocations: 109.2 kB / 0.7337 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004858/2.857, allocations: 274.2 kB / 0.734 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01451/2.872, allocations: 7.215 MB / 0.741 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/2.872, allocations: 1.062 kB / 0.741 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/2.872, allocations: 0 / 0.741 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.138e-05/2.872, allocations: 0 / 0.741 GB, free: 1.32 MB / 0.5762 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.006919/2.879, allocations: 1.932 MB / 0.7429 GB, free: 108 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/2.879, allocations: 9.25 kB / 0.7429 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/2.879, allocations: 69.83 kB / 0.743 GB, free: 72 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/2.879, allocations: 330.9 kB / 0.7433 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/2.879, allocations: 39.97 kB / 0.7433 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/2.879, allocations: 49.41 kB / 0.7434 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008461/2.88, allocations: 0.5389 MB / 0.7439 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/2.88, allocations: 5.125 kB / 0.7439 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/2.88, allocations: 31.27 kB / 0.7439 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/2.88, allocations: 13.56 kB / 0.7439 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005978/2.881, allocations: 363.4 kB / 0.7443 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/2.884, allocations: 2.95 MB / 0.7472 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/2.884, allocations: 147.8 kB / 0.7473 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/2.884, allocations: 89.86 kB / 0.7474 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3281/3.212, allocations: 182.2 MB / 0.9253 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/3.212, allocations: 32.56 kB / 0.9254 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 2.345e-06/3.212, allocations: 0 / 0.9254 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.001834/3.214, allocations: 0.6425 MB / 0.926 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/3.214, allocations: 51.41 kB / 0.9261 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/3.215, allocations: 333.2 kB / 0.9264 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/3.215, allocations: 27.58 kB / 0.9264 GB, free: 11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/3.215, allocations: 274.5 kB / 0.9267 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/3.215, allocations: 91.05 kB / 0.9267 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/3.215, allocations: 80.91 kB / 0.9268 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001117/3.215, allocations: 342 kB / 0.9272 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/3.216, allocations: 80.28 kB / 0.9272 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/3.216, allocations: 203.3 kB / 0.9274 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/3.216, allocations: 316.3 kB / 0.9277 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/3.216, allocations: 1.203 kB / 0.9277 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008546/3.217, allocations: 461.3 kB / 0.9282 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/3.217, allocations: 8 kB / 0.9282 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/3.217, allocations: 4 kB / 0.9282 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009354/3.218, allocations: 266.1 kB / 0.9284 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/3.218, allocations: 44.89 kB / 0.9285 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/3.219, allocations: 1.249 MB / 0.9297 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/3.219, allocations: 51.11 kB / 0.9297 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/3.22, allocations: 15.81 kB / 0.9298 GB, free: 7.906 MB / 0.7794 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.0002034/3.22, allocations: 162.4 kB / 0.9299 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/3.22, allocations: 36.66 kB / 0.9299 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008875/3.221, allocations: 0.4982 MB / 0.9304 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006124/3.221, allocations: 362.9 kB / 0.9308 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/3.221, allocations: 1.781 kB / 0.9308 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/3.221, allocations: 3.984 kB / 0.9308 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/3.223, allocations: 1.009 MB / 0.9318 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/3.223, allocations: 4.031 kB / 0.9318 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.891e-05/3.223, allocations: 22 kB / 0.9318 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006985/3.224, allocations: 234.9 kB / 0.932 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/3.224, allocations: 3.062 kB / 0.932 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008743/3.225, allocations: 1.268 MB / 0.9333 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/3.225, allocations: 0 / 0.9333 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007206/3.225, allocations: 494.2 kB / 0.9337 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/3.225, allocations: 112.3 kB / 0.9338 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/3.225, allocations: 15.86 kB / 0.9339 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/3.226, allocations: 8.703 kB / 0.9339 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/3.226, allocations: 19.91 kB / 0.9339 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/3.226, allocations: 11.25 kB / 0.9339 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002309/3.226, allocations: 221.7 kB / 0.9341 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/3.226, allocations: 4 kB / 0.9341 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005362/3.231, allocations: 1.51 MB / 0.9356 GB, free: 2.703 MB / 0.7794 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.008401/3.24, allocations: 2.326 MB / 0.9379 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001171/3.241, allocations: 365 kB / 0.9382 GB, free: 472 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/3.241, allocations: 4 kB / 0.9382 GB, free: 468 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005123/3.241, allocations: 187.1 kB / 0.9384 GB, free: 328 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008226/3.242, allocations: 141.1 kB / 0.9385 GB, free: 220 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/3.244, allocations: 0.9934 MB / 0.9395 GB, free: 15.25 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/3.244, allocations: 0.8274 MB / 0.9403 GB, free: 14.39 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.926e-05/3.244, allocations: 37.88 kB / 0.9403 GB, free: 14.36 MB / 0.795 GB Notification: Performance of SimCode: time 4.91e-07/3.244, allocations: 0 / 0.9403 GB, free: 14.36 MB / 0.795 GB Notification: Performance of Templates: time 0.05257/3.297, allocations: 33.62 MB / 0.9732 GB, free: 12.86 MB / 0.8262 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)