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.5024/0.5024, allocations: 111.6 MB / 131.2 MB, free: 4.516 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.033e-06/2.033e-06, allocations: 0 / 176.2 MB, free: 9.188 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.554e-05, allocations: 2.312 kB / 176.2 MB, free: 9.184 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.002/1.002, allocations: 257.7 MB / 433.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.31/1.312, allocations: 182.9 MB / 0.6024 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/1.313, allocations: 15.88 kB / 0.6024 GB, free: 15.88 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.0003423/1.313, allocations: 139 kB / 0.6025 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002893/1.313, allocations: 174.5 kB / 0.6027 GB, free: 15.57 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.02091/1.334, allocations: 12.23 MB / 0.6146 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005054/1.335, allocations: 0.5996 MB / 0.6152 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/1.335, allocations: 262.6 kB / 0.6155 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/1.335, allocations: 383 kB / 0.6158 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/1.336, allocations: 179.5 kB / 0.616 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/1.336, allocations: 52 kB / 0.616 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02307/1.359, allocations: 20.42 MB / 0.636 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/1.359, allocations: 135.5 kB / 0.6361 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/1.359, allocations: 201.1 kB / 0.6363 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01451/1.373, allocations: 13.04 MB / 0.649 GB, free: 15.98 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.373, allocations: 4 kB / 0.649 GB, free: 15.97 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.031e-06/1.373, allocations: 4 kB / 0.6491 GB, free: 15.97 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.373, allocations: 0 / 0.6491 GB, free: 15.97 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.00313/1.377, allocations: 2.085 MB / 0.6511 GB, free: 13.84 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/1.377, allocations: 11.98 kB / 0.6511 GB, free: 13.83 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/1.377, allocations: 112.1 kB / 0.6512 GB, free: 13.72 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/1.377, allocations: 318.4 kB / 0.6515 GB, free: 13.39 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/1.377, allocations: 37.31 kB / 0.6515 GB, free: 13.35 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/1.377, allocations: 52 kB / 0.6516 GB, free: 13.3 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/1.378, allocations: 0.4961 MB / 0.6521 GB, free: 12.75 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/1.378, allocations: 7.938 kB / 0.6521 GB, free: 12.74 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/1.378, allocations: 20.5 kB / 0.6521 GB, free: 12.72 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/1.378, allocations: 12 kB / 0.6521 GB, free: 12.71 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/1.378, allocations: 238.2 kB / 0.6523 GB, free: 12.48 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/1.38, allocations: 2.178 MB / 0.6545 GB, free: 10.22 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/1.38, allocations: 115.2 kB / 0.6546 GB, free: 10.09 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/1.38, allocations: 51.67 kB / 0.6546 GB, free: 10.04 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3537/1.734, allocations: 95.41 MB / 0.7478 GB, free: 70.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/1.734, allocations: 33.39 kB / 0.7478 GB, free: 70.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 2.385e-06/1.734, allocations: 0 / 0.7478 GB, free: 70.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.0009062/1.735, allocations: 430.7 kB / 0.7482 GB, free: 70.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.761e-05/1.735, allocations: 54.41 kB / 0.7483 GB, free: 70.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/1.735, allocations: 373.7 kB / 0.7487 GB, free: 70.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/1.735, allocations: 31.73 kB / 0.7487 GB, free: 70.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/1.735, allocations: 335.3 kB / 0.749 GB, free: 69.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/1.735, allocations: 99.38 kB / 0.7491 GB, free: 69.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/1.735, allocations: 93.75 kB / 0.7492 GB, free: 69.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.752e-05/1.735, allocations: 0.5077 MB / 0.7497 GB, free: 69.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.488e-05/1.735, allocations: 48.23 kB / 0.7497 GB, free: 69.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/1.735, allocations: 229.1 kB / 0.7499 GB, free: 68.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/1.735, allocations: 302.2 kB / 0.7502 GB, free: 68.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.735, allocations: 4 kB / 0.7502 GB, free: 68.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004224/1.736, allocations: 384.6 kB / 0.7506 GB, free: 68.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.736, allocations: 8 kB / 0.7506 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/1.736, allocations: 4.625 kB / 0.7506 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005245/1.736, allocations: 243.1 kB / 0.7508 GB, free: 68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/1.737, allocations: 44.77 kB / 0.7509 GB, free: 67.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004311/1.737, allocations: 1.728 MB / 0.7526 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/1.737, allocations: 38.88 kB / 0.7526 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/1.737, allocations: 13.3 kB / 0.7526 GB, free: 66.19 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 9.4e-05/1.737, allocations: 180.1 kB / 0.7528 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/1.737, allocations: 43.66 kB / 0.7528 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/1.738, allocations: 368.4 kB / 0.7532 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002471/1.738, allocations: 289.5 kB / 0.7535 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/1.738, allocations: 0 / 0.7535 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.738, allocations: 3.984 kB / 0.7535 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000701/1.739, allocations: 0.853 MB / 0.7543 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.739, allocations: 0 / 0.7543 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/1.739, allocations: 23.98 kB / 0.7543 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003483/1.739, allocations: 214.1 kB / 0.7545 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/1.739, allocations: 7.625 kB / 0.7545 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003637/1.739, allocations: 1.718 MB / 0.7562 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.739, allocations: 0 / 0.7562 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/1.74, allocations: 482.5 kB / 0.7567 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.548e-05/1.74, allocations: 74.7 kB / 0.7568 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/1.74, allocations: 3.375 kB / 0.7568 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/1.74, allocations: 7.188 kB / 0.7568 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/1.74, allocations: 19.27 kB / 0.7568 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/1.74, allocations: 12.03 kB / 0.7568 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.994e-05/1.74, allocations: 238 kB / 0.757 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.1e-08/1.74, allocations: 0 / 0.757 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001997/1.742, allocations: 1.545 MB / 0.7585 GB, free: 60.73 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.00347/1.745, allocations: 2.448 MB / 0.7609 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004545/1.746, allocations: 293.3 kB / 0.7612 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.746, allocations: 4 kB / 0.7612 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/1.746, allocations: 155.2 kB / 0.7613 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/1.747, allocations: 152.2 kB / 0.7615 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/1.748, allocations: 0.8107 MB / 0.7623 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.92e-05/1.748, allocations: 118 kB / 0.7624 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.543e-05/1.748, allocations: 50.89 kB / 0.7624 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/1.748, allocations: 28.5 kB / 0.7625 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/1.748, allocations: 0 / 0.7625 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.03604/1.784, allocations: 49.96 MB / 0.8113 GB, free: 7.445 MB / 0.6042 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.4726721327751875]