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.4701/0.4701, allocations: 111.6 MB / 131.2 MB, free: 4.562 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 1.623e-06/1.623e-06, allocations: 3.938 kB / 176.2 MB, free: 8.867 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239e-05/1.402e-05, allocations: 2.312 kB / 176.2 MB, free: 8.863 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 0.9974/0.9974, allocations: 257.7 MB / 433.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3238/1.321, allocations: 182.9 MB / 0.6024 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003594/1.322, allocations: 11.88 kB / 0.6024 GB, free: 15.86 MB / 0.5261 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.0004198/1.322, allocations: 127.1 kB / 0.6025 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003312/1.322, allocations: 182.4 kB / 0.6027 GB, free: 15.56 MB / 0.5261 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.023/1.345, allocations: 12.23 MB / 0.6146 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004955/1.346, allocations: 0.5996 MB / 0.6152 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/1.346, allocations: 262.6 kB / 0.6155 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/1.346, allocations: 387 kB / 0.6158 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/1.347, allocations: 183.4 kB / 0.616 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/1.347, allocations: 48 kB / 0.616 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02305/1.37, allocations: 20.42 MB / 0.636 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/1.37, allocations: 135.5 kB / 0.6361 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/1.37, allocations: 201.1 kB / 0.6363 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01493/1.385, allocations: 13.04 MB / 0.649 GB, free: 15.98 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.385, allocations: 0 / 0.649 GB, free: 15.98 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.543e-06/1.385, allocations: 0 / 0.649 GB, free: 15.98 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.385, allocations: 0 / 0.649 GB, free: 15.98 MB / 0.573 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.003434/1.388, allocations: 2.089 MB / 0.6511 GB, free: 13.84 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/1.388, allocations: 15.98 kB / 0.6511 GB, free: 13.82 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/1.388, allocations: 112.4 kB / 0.6512 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/1.389, allocations: 322.4 kB / 0.6515 GB, free: 13.38 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/1.389, allocations: 37.31 kB / 0.6515 GB, free: 13.34 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/1.389, allocations: 56 kB / 0.6516 GB, free: 13.28 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/1.389, allocations: 0.4961 MB / 0.6521 GB, free: 12.73 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.389, allocations: 0 / 0.6521 GB, free: 12.73 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/1.39, allocations: 20 kB / 0.6521 GB, free: 12.71 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/1.39, allocations: 23.98 kB / 0.6521 GB, free: 12.69 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/1.39, allocations: 230.2 kB / 0.6523 GB, free: 12.46 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/1.391, allocations: 2.166 MB / 0.6545 GB, free: 10.22 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/1.392, allocations: 120 kB / 0.6546 GB, free: 10.09 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.982e-05/1.392, allocations: 64.7 kB / 0.6546 GB, free: 10.02 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3521/1.744, allocations: 95.42 MB / 0.7478 GB, free: 70.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/1.744, allocations: 33.39 kB / 0.7479 GB, free: 70.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 2.244e-06/1.744, allocations: 4 kB / 0.7479 GB, free: 70.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.0009148/1.745, allocations: 421.3 kB / 0.7483 GB, free: 70.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/1.745, allocations: 58.59 kB / 0.7483 GB, free: 70.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/1.745, allocations: 373.1 kB / 0.7487 GB, free: 70.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/1.745, allocations: 36.39 kB / 0.7487 GB, free: 70.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/1.745, allocations: 332.2 kB / 0.749 GB, free: 69.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/1.745, allocations: 95.16 kB / 0.7491 GB, free: 69.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/1.745, allocations: 97.06 kB / 0.7492 GB, free: 69.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.037e-05/1.745, allocations: 0.5036 MB / 0.7497 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.212e-05/1.745, allocations: 51.39 kB / 0.7497 GB, free: 69.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/1.745, allocations: 224.6 kB / 0.75 GB, free: 68.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/1.746, allocations: 304.2 kB / 0.7503 GB, free: 68.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.746, allocations: 0 / 0.7503 GB, free: 68.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004228/1.746, allocations: 388.1 kB / 0.7506 GB, free: 68.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.746, allocations: 4 kB / 0.7506 GB, free: 68.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/1.746, allocations: 4 kB / 0.7506 GB, free: 68.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/1.747, allocations: 251.6 kB / 0.7509 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/1.747, allocations: 39.36 kB / 0.7509 GB, free: 68.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004662/1.747, allocations: 1.723 MB / 0.7526 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.801e-05/1.747, allocations: 39.78 kB / 0.7526 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/1.747, allocations: 22.02 kB / 0.7526 GB, free: 66.23 MB / 0.6042 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 8.993e-05/1.747, allocations: 174.2 kB / 0.7528 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/1.747, allocations: 40 kB / 0.7529 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/1.748, allocations: 382.3 kB / 0.7532 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002432/1.748, allocations: 279.1 kB / 0.7535 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.748, allocations: 0 / 0.7535 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.748, allocations: 3.984 kB / 0.7535 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007003/1.749, allocations: 0.8513 MB / 0.7543 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.749, allocations: 12.03 kB / 0.7543 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/1.749, allocations: 23.36 kB / 0.7544 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003396/1.749, allocations: 200 kB / 0.7545 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/1.749, allocations: 7.562 kB / 0.7545 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003851/1.75, allocations: 1.715 MB / 0.7562 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.75, allocations: 4.172 kB / 0.7562 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/1.75, allocations: 486 kB / 0.7567 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/1.75, allocations: 69.38 kB / 0.7568 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/1.75, allocations: 11.47 kB / 0.7568 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.204e-05/1.75, allocations: 8.391 kB / 0.7568 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/1.75, allocations: 15.59 kB / 0.7568 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/1.75, allocations: 11.98 kB / 0.7568 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.74e-05/1.75, allocations: 233.9 kB / 0.757 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.1e-08/1.75, allocations: 2.812 kB / 0.757 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002149/1.752, allocations: 1.544 MB / 0.7585 GB, free: 60.77 MB / 0.6042 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.003908/1.756, allocations: 2.445 MB / 0.7609 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005248/1.757, allocations: 299.3 kB / 0.7612 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.757, allocations: 0 / 0.7612 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/1.757, allocations: 150.7 kB / 0.7614 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/1.757, allocations: 160.2 kB / 0.7615 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/1.759, allocations: 0.805 MB / 0.7623 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.416e-05/1.759, allocations: 118.3 kB / 0.7624 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001038/1.759, allocations: 42.91 kB / 0.7624 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/1.759, allocations: 28.5 kB / 0.7625 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of SimCode: time 1.362e-06/1.759, allocations: 0 / 0.7625 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.04449/1.803, allocations: 62.12 MB / 0.8231 GB, free: 11.34 MB / 0.6198 GB " [Timeout remaining time 658] 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: 5.813466729130596]