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.4989/0.4989, allocations: 111.6 MB / 132.2 MB, free: 4.414 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.372e-06/1.372e-06, allocations: 0 / 177.3 MB, free: 8.926 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.081e-05, allocations: 6.25 kB / 177.3 MB, free: 8.918 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.047/1.047, allocations: 257.7 MB / 435 MB, free: 15.6 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3258/1.373, allocations: 179.5 MB / 0.6001 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/1.373, allocations: 11.94 kB / 0.6001 GB, free: 2.727 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.0003156/1.373, allocations: 131 kB / 0.6003 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003016/1.374, allocations: 190.4 kB / 0.6005 GB, free: 2.41 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.02058/1.394, allocations: 12.22 MB / 0.6124 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005788/1.395, allocations: 0.6035 MB / 0.613 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/1.395, allocations: 258.6 kB / 0.6132 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/1.395, allocations: 387 kB / 0.6136 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/1.395, allocations: 179.4 kB / 0.6138 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/1.395, allocations: 52 kB / 0.6138 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02558/1.421, allocations: 20.43 MB / 0.6338 GB, free: 228 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/1.421, allocations: 135.5 kB / 0.6339 GB, free: 92 kB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002336/1.421, allocations: 193.1 kB / 0.6341 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02269/1.444, allocations: 13.04 MB / 0.6468 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.444, allocations: 0 / 0.6468 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.443e-06/1.444, allocations: 0 / 0.6468 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.496e-06/1.444, allocations: 4 kB / 0.6468 GB, free: 2.824 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.003884/1.448, allocations: 2.093 MB / 0.6489 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/1.448, allocations: 11.98 kB / 0.6489 GB, free: 0.6719 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/1.448, allocations: 111.6 kB / 0.649 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/1.449, allocations: 314.5 kB / 0.6493 GB, free: 236 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/1.449, allocations: 41.31 kB / 0.6493 GB, free: 192 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/1.449, allocations: 52 kB / 0.6494 GB, free: 140 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/1.449, allocations: 475.9 kB / 0.6498 GB, free: 15.62 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/1.449, allocations: 3.938 kB / 0.6498 GB, free: 15.61 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/1.449, allocations: 24 kB / 0.6498 GB, free: 15.59 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/1.449, allocations: 16 kB / 0.6499 GB, free: 15.57 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/1.449, allocations: 187.3 kB / 0.65 GB, free: 15.39 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/1.451, allocations: 2.116 MB / 0.6521 GB, free: 13.21 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/1.451, allocations: 103.2 kB / 0.6522 GB, free: 13.09 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.509e-05/1.451, allocations: 43.67 kB / 0.6522 GB, free: 13.05 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3696/1.821, allocations: 83.03 MB / 0.7333 GB, free: 80.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/1.821, allocations: 40.16 kB / 0.7334 GB, free: 80.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 2.044e-06/1.821, allocations: 4 kB / 0.7334 GB, free: 80.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.0008427/1.821, allocations: 387.5 kB / 0.7337 GB, free: 80.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.678e-05/1.821, allocations: 54.66 kB / 0.7338 GB, free: 80.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/1.822, allocations: 368.6 kB / 0.7341 GB, free: 80.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/1.822, allocations: 35.11 kB / 0.7342 GB, free: 80.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/1.822, allocations: 340.9 kB / 0.7345 GB, free: 80.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/1.822, allocations: 95.19 kB / 0.7346 GB, free: 79.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/1.822, allocations: 101.5 kB / 0.7347 GB, free: 79.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.51e-05/1.822, allocations: 0.5035 MB / 0.7352 GB, free: 79.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/1.822, allocations: 39.73 kB / 0.7352 GB, free: 79.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.4e-05/1.822, allocations: 218.6 kB / 0.7354 GB, free: 79.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/1.822, allocations: 286.1 kB / 0.7357 GB, free: 79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.822, allocations: 0 / 0.7357 GB, free: 79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003993/1.823, allocations: 361.1 kB / 0.736 GB, free: 78.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.823, allocations: 7.438 kB / 0.7361 GB, free: 78.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.823, allocations: 4.344 kB / 0.7361 GB, free: 78.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004826/1.823, allocations: 242 kB / 0.7363 GB, free: 78.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.538e-05/1.823, allocations: 46.98 kB / 0.7363 GB, free: 78.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004434/1.824, allocations: 1.708 MB / 0.738 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/1.824, allocations: 39.16 kB / 0.738 GB, free: 77.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/1.824, allocations: 14 kB / 0.7381 GB, free: 77.28 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 (airHumidity.C1.diff_on_2,singularPressureLoss.C2.diff_on_1,airHumidity.fluid,sinkFlueGases.fluid,singularPressureLoss.fluid,sourceFlueGasesPQ.C.ftype,sourceFlueGasesPQ.fluid1) * 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.0001092/1.824, allocations: 176.7 kB / 0.7382 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/1.824, allocations: 36.06 kB / 0.7383 GB, free: 77.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/1.824, allocations: 350.6 kB / 0.7386 GB, free: 76.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002123/1.825, allocations: 247.9 kB / 0.7388 GB, free: 76.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/1.825, allocations: 0 / 0.7388 GB, free: 76.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.825, allocations: 8.219 kB / 0.7388 GB, free: 76.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006723/1.825, allocations: 0.7548 MB / 0.7396 GB, free: 76.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.825, allocations: 10.53 kB / 0.7396 GB, free: 76.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/1.825, allocations: 23.22 kB / 0.7396 GB, free: 76.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000356/1.826, allocations: 199.3 kB / 0.7398 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/1.826, allocations: 10.84 kB / 0.7398 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003739/1.826, allocations: 1.699 MB / 0.7415 GB, free: 74.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.826, allocations: 7.938 kB / 0.7415 GB, free: 74.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/1.826, allocations: 459.9 kB / 0.7419 GB, free: 73.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/1.826, allocations: 66.67 kB / 0.742 GB, free: 73.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/1.826, allocations: 11.34 kB / 0.742 GB, free: 73.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/1.826, allocations: 3.438 kB / 0.742 GB, free: 73.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/1.827, allocations: 23.19 kB / 0.742 GB, free: 73.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/1.827, allocations: 9.844 kB / 0.742 GB, free: 73.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.067e-05/1.827, allocations: 222 kB / 0.7422 GB, free: 73.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/1.827, allocations: 1.203 kB / 0.7422 GB, free: 73.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00298/1.83, allocations: 1.541 MB / 0.7437 GB, free: 72.43 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.004274/1.834, allocations: 2.552 MB / 0.7462 GB, free: 70.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005028/1.834, allocations: 273.4 kB / 0.7465 GB, free: 70.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.834, allocations: 0 / 0.7465 GB, free: 70.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/1.835, allocations: 151.2 kB / 0.7466 GB, free: 70.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/1.835, allocations: 148.9 kB / 0.7468 GB, free: 70.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/1.836, allocations: 0.7922 MB / 0.7475 GB, free: 69.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.846e-05/1.836, allocations: 115.9 kB / 0.7477 GB, free: 69.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001086/1.836, allocations: 47.17 kB / 0.7477 GB, free: 69.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/1.836, allocations: 162.9 kB / 0.7479 GB, free: 69 MB / 0.6042 GB Notification: Performance of SimCode: time 1.432e-06/1.836, allocations: 4 kB / 0.7479 GB, free: 68.99 MB / 0.6042 GB Notification: Performance of Templates: time 0.04562/1.882, allocations: 58.62 MB / 0.8051 GB, free: 14.32 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.950659432914108]