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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.7976/0.7976, allocations: 111.6 MB / 131 MB, free: 5.098 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 175.7 MB, free: 9.457 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.097e-05, allocations: 2.312 kB / 175.7 MB, free: 9.453 MB / 170.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity): time 1.682/1.682, allocations: 255.4 MB / 431.1 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4134/2.096, allocations: 182.5 MB / 0.5992 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003726/2.096, allocations: 15.88 kB / 0.5992 GB, free: 9.855 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/AirHumidity.mo:33:3-34:80: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 master/Fluid/BoundaryConditions/AirHumidity.mo:37:3-38:78: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 master/Fluid/PressureLosses/SingularPressureLoss.mo:22:3-23:80: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 master/Fluid/PressureLosses/SingularPressureLoss.mo:24:3-25:78: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 master/Fluid/BoundaryConditions/Sink.mo:29:3-30:80: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 master/Fluid/BoundaryConditions/SourcePQ.mo:44:3-45:78: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.0004553/2.096, allocations: 123.1 kB / 0.5993 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0004385/2.097, allocations: 182.4 kB / 0.5995 GB, free: 9.555 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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 master/Properties/WaterSteam/IF97_packages.mo:525:9-525: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 master/Properties/WaterSteam/IF97_packages.mo:708:9-708: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 master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51: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 master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51: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 master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151: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 master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151: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 master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88: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.03261/2.13, allocations: 12.21 MB / 0.6114 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001019/2.131, allocations: 0.6035 MB / 0.612 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003794/2.131, allocations: 254.6 kB / 0.6123 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004928/2.131, allocations: 391 kB / 0.6126 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/2.132, allocations: 179.4 kB / 0.6128 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.981e-05/2.132, allocations: 48 kB / 0.6129 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03812/2.17, allocations: 20.42 MB / 0.6328 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/2.17, allocations: 143.5 kB / 0.6329 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004577/2.171, allocations: 191.6 kB / 0.6331 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02793/2.199, allocations: 13.25 MB / 0.6461 GB, free: 9.766 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/2.199, allocations: 3.938 kB / 0.6461 GB, free: 9.762 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.293e-06/2.199, allocations: 0 / 0.6461 GB, free: 9.762 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.047e-06/2.199, allocations: 0 / 0.6461 GB, free: 9.762 MB / 0.5573 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.005247/2.204, allocations: 2.112 MB / 0.6481 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/2.204, allocations: 15.98 kB / 0.6481 GB, free: 7.586 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/2.204, allocations: 115.6 kB / 0.6483 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/2.205, allocations: 318.4 kB / 0.6486 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/2.205, allocations: 41.31 kB / 0.6486 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/2.205, allocations: 52 kB / 0.6487 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/2.206, allocations: 0.5954 MB / 0.6492 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/2.206, allocations: 0 / 0.6492 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/2.206, allocations: 32 kB / 0.6493 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/2.206, allocations: 15.98 kB / 0.6493 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006872/2.206, allocations: 344.2 kB / 0.6496 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/2.21, allocations: 2.361 MB / 0.6519 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/2.21, allocations: 147.1 kB / 0.6521 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/2.21, allocations: 75.84 kB / 0.6521 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5623/2.772, allocations: 95.41 MB / 0.7453 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/2.772, allocations: 40.58 kB / 0.7453 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.803e-06/2.772, allocations: 1.203 kB / 0.7453 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.001514/2.774, allocations: 0.4948 MB / 0.7458 GB, free: 103.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/2.774, allocations: 55.5 kB / 0.7459 GB, free: 103.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/2.774, allocations: 437.7 kB / 0.7463 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/2.774, allocations: 25.7 kB / 0.7463 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/2.775, allocations: 345 kB / 0.7466 GB, free: 103 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/2.775, allocations: 97.88 kB / 0.7467 GB, free: 102.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/2.775, allocations: 109.8 kB / 0.7468 GB, free: 102.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.333e-05/2.775, allocations: 0.5261 MB / 0.7474 GB, free: 102.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/2.775, allocations: 77.12 kB / 0.7474 GB, free: 102.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/2.775, allocations: 258.7 kB / 0.7477 GB, free: 102.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/2.775, allocations: 369.1 kB / 0.748 GB, free: 102 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/2.775, allocations: 0.8125 kB / 0.748 GB, free: 102 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007596/2.776, allocations: 457.9 kB / 0.7485 GB, free: 101.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/2.776, allocations: 7.406 kB / 0.7485 GB, free: 101.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/2.776, allocations: 8.531 kB / 0.7485 GB, free: 101.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008993/2.777, allocations: 263 kB / 0.7487 GB, free: 101.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/2.777, allocations: 42.7 kB / 0.7488 GB, free: 101.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007602/2.778, allocations: 1.803 MB / 0.7505 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/2.778, allocations: 40.59 kB / 0.7506 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/2.778, allocations: 19 kB / 0.7506 GB, free: 100.2 MB / 0.6198 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.0001394/2.778, allocations: 202.3 kB / 0.7508 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/2.778, allocations: 44.95 kB / 0.7508 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007285/2.779, allocations: 427.1 kB / 0.7512 GB, free: 100 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005193/2.78, allocations: 337.4 kB / 0.7516 GB, free: 99.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/2.78, allocations: 3.75 kB / 0.7516 GB, free: 99.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/2.78, allocations: 5.812 kB / 0.7516 GB, free: 99.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/2.781, allocations: 1.001 MB / 0.7525 GB, free: 99.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/2.781, allocations: 3.969 kB / 0.7525 GB, free: 99.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.616e-05/2.781, allocations: 22.31 kB / 0.7526 GB, free: 99.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006801/2.782, allocations: 218.8 kB / 0.7528 GB, free: 99.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/2.782, allocations: 12.94 kB / 0.7528 GB, free: 99.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006878/2.782, allocations: 1.772 MB / 0.7545 GB, free: 97.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/2.782, allocations: 3.938 kB / 0.7545 GB, free: 97.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000608/2.783, allocations: 0.5368 MB / 0.755 GB, free: 97.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/2.783, allocations: 74.2 kB / 0.7551 GB, free: 97.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/2.783, allocations: 6.438 kB / 0.7551 GB, free: 97.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/2.783, allocations: 7.031 kB / 0.7551 GB, free: 97.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/2.783, allocations: 17.83 kB / 0.7551 GB, free: 97.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/2.783, allocations: 12.94 kB / 0.7552 GB, free: 97.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001773/2.783, allocations: 261.5 kB / 0.7554 GB, free: 97.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/2.783, allocations: 0 / 0.7554 GB, free: 97.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002927/2.786, allocations: 1.548 MB / 0.7569 GB, free: 97.5 MB / 0.6198 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.004765/2.791, allocations: 2.441 MB / 0.7593 GB, free: 97.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008363/2.792, allocations: 344.6 kB / 0.7596 GB, free: 97.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/2.792, allocations: 0 / 0.7596 GB, free: 97.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004549/2.792, allocations: 186.8 kB / 0.7598 GB, free: 97.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007219/2.793, allocations: 154.4 kB / 0.76 GB, free: 97.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/2.794, allocations: 0.8078 MB / 0.7607 GB, free: 96.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/2.794, allocations: 253.6 kB / 0.761 GB, free: 96.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001292/2.795, allocations: 48.2 kB / 0.761 GB, free: 96.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/2.795, allocations: 34.06 kB / 0.7611 GB, free: 96.49 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/2.795, allocations: 1.203 kB / 0.7611 GB, free: 96.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.05033/2.845, allocations: 49.97 MB / 0.8099 GB, free: 52.25 MB / 0.6198 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.makefile [Timeout 660] (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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.962595418910496]