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.4928/0.4928, allocations: 111.6 MB / 131.7 MB, free: 5.047 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.382e-06/1.382e-06, allocations: 0 / 176.5 MB, free: 9.414 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.592e-05, allocations: 2.312 kB / 176.5 MB, free: 9.41 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.025/1.025, allocations: 257.7 MB / 434.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3627/1.388, allocations: 182.5 MB / 0.6022 GB, free: 284 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003226/1.388, allocations: 15.88 kB / 0.6023 GB, free: 268 kB / 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.000352/1.388, allocations: 119.1 kB / 0.6024 GB, free: 148 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.000312/1.389, allocations: 194.3 kB / 0.6026 GB, free: 15.95 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.02357/1.412, allocations: 12.2 MB / 0.6145 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005785/1.413, allocations: 0.5996 MB / 0.6151 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/1.413, allocations: 266.5 kB / 0.6153 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/1.413, allocations: 379 kB / 0.6157 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/1.413, allocations: 183.5 kB / 0.6158 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/1.414, allocations: 48 kB / 0.6159 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02565/1.439, allocations: 20.43 MB / 0.6358 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/1.439, allocations: 135.5 kB / 0.636 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002303/1.44, allocations: 197.1 kB / 0.6362 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02038/1.46, allocations: 13.03 MB / 0.6489 GB, free: 408 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.46, allocations: 0 / 0.6489 GB, free: 408 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.473e-06/1.46, allocations: 0 / 0.6489 GB, free: 408 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.46, allocations: 0 / 0.6489 GB, free: 408 kB / 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.004077/1.464, allocations: 2.097 MB / 0.6509 GB, free: 14.25 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.606e-05/1.464, allocations: 11.98 kB / 0.6509 GB, free: 14.24 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/1.464, allocations: 112.2 kB / 0.651 GB, free: 14.13 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/1.465, allocations: 318.4 kB / 0.6514 GB, free: 13.8 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/1.465, allocations: 41.31 kB / 0.6514 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/1.465, allocations: 52 kB / 0.6514 GB, free: 13.7 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/1.465, allocations: 0.4961 MB / 0.6519 GB, free: 13.15 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-06/1.465, allocations: 0 / 0.6519 GB, free: 13.15 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/1.465, allocations: 24 kB / 0.6519 GB, free: 13.13 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/1.465, allocations: 15.98 kB / 0.652 GB, free: 13.11 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/1.465, allocations: 230.4 kB / 0.6522 GB, free: 12.89 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/1.467, allocations: 2.178 MB / 0.6543 GB, free: 10.63 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/1.467, allocations: 116 kB / 0.6544 GB, free: 10.51 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.357e-05/1.467, allocations: 52.55 kB / 0.6545 GB, free: 10.45 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.297/1.764, allocations: 95.41 MB / 0.7476 GB, free: 234.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/1.764, allocations: 37.39 kB / 0.7477 GB, free: 234.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/1.764, allocations: 0 / 0.7477 GB, free: 234.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.0008555/1.765, allocations: 437.9 kB / 0.7481 GB, free: 234.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.579e-05/1.765, allocations: 55.41 kB / 0.7482 GB, free: 234.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/1.766, allocations: 372.3 kB / 0.7485 GB, free: 233.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/1.766, allocations: 33.7 kB / 0.7485 GB, free: 233.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/1.766, allocations: 340.7 kB / 0.7489 GB, free: 233.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/1.766, allocations: 88.52 kB / 0.7489 GB, free: 233.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/1.766, allocations: 95.23 kB / 0.749 GB, free: 233.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.932e-05/1.766, allocations: 0.504 MB / 0.7495 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.665e-05/1.766, allocations: 56.34 kB / 0.7496 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/1.766, allocations: 215.5 kB / 0.7498 GB, free: 232.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/1.766, allocations: 298.1 kB / 0.7501 GB, free: 232.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.766, allocations: 0 / 0.7501 GB, free: 232.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003995/1.767, allocations: 390.3 kB / 0.7504 GB, free: 231.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.767, allocations: 7.984 kB / 0.7505 GB, free: 231.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.767, allocations: 8.031 kB / 0.7505 GB, free: 231.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004856/1.767, allocations: 242.1 kB / 0.7507 GB, free: 231.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.389e-05/1.767, allocations: 43.92 kB / 0.7507 GB, free: 231.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004397/1.768, allocations: 1.731 MB / 0.7524 GB, free: 229.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/1.768, allocations: 37.28 kB / 0.7525 GB, free: 229.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/1.768, allocations: 16 kB / 0.7525 GB, free: 229.6 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.732e-05/1.768, allocations: 178.7 kB / 0.7526 GB, free: 229.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/1.768, allocations: 39.8 kB / 0.7527 GB, free: 229.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/1.768, allocations: 366.7 kB / 0.753 GB, free: 229 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002518/1.768, allocations: 301.1 kB / 0.7533 GB, free: 228.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.768, allocations: 0 / 0.7533 GB, free: 228.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.768, allocations: 4 kB / 0.7533 GB, free: 228.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007188/1.769, allocations: 0.8377 MB / 0.7541 GB, free: 227.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.769, allocations: 0 / 0.7541 GB, free: 227.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/1.769, allocations: 27.92 kB / 0.7542 GB, free: 227.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003417/1.77, allocations: 209.7 kB / 0.7544 GB, free: 227.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/1.77, allocations: 8 kB / 0.7544 GB, free: 227.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000369/1.77, allocations: 1.718 MB / 0.7561 GB, free: 225.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.77, allocations: 4.641 kB / 0.7561 GB, free: 225.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/1.77, allocations: 487 kB / 0.7565 GB, free: 225.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/1.77, allocations: 67.67 kB / 0.7566 GB, free: 225.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/1.77, allocations: 8 kB / 0.7566 GB, free: 225.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.313e-05/1.77, allocations: 7.984 kB / 0.7566 GB, free: 225.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/1.77, allocations: 27.84 kB / 0.7566 GB, free: 225.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/1.771, allocations: 8 kB / 0.7566 GB, free: 225.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001012/1.771, allocations: 235 kB / 0.7569 GB, free: 224.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/1.771, allocations: 4 kB / 0.7569 GB, free: 224.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002527/1.773, allocations: 1.544 MB / 0.7584 GB, free: 223.4 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.003549/1.777, allocations: 2.454 MB / 0.7608 GB, free: 221.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004532/1.777, allocations: 287.8 kB / 0.761 GB, free: 221 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.777, allocations: 0 / 0.761 GB, free: 221 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/1.777, allocations: 163.2 kB / 0.7612 GB, free: 220.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/1.778, allocations: 132 kB / 0.7613 GB, free: 220.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/1.779, allocations: 0.8064 MB / 0.7621 GB, free: 219.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.806e-05/1.779, allocations: 117.1 kB / 0.7622 GB, free: 219.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001039/1.779, allocations: 44.41 kB / 0.7623 GB, free: 219.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/1.779, allocations: 24.5 kB / 0.7623 GB, free: 219.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.733e-06/1.779, allocations: 0 / 0.7623 GB, free: 219.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.03593/1.815, allocations: 49.98 MB / 0.8111 GB, free: 170 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.2567102301400155]