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.4676/0.4676, allocations: 111.6 MB / 131.4 MB, free: 4.91 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.783e-06/1.783e-06, allocations: 0 / 176.5 MB, free: 8.98 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.375e-05, allocations: 5.484 kB / 176.5 MB, free: 8.977 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.016/1.016, allocations: 257.7 MB / 434.3 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3379/1.354, allocations: 179.5 MB / 0.5994 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/1.355, allocations: 7.938 kB / 0.5994 GB, free: 2.492 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.0003536/1.355, allocations: 127.1 kB / 0.5995 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003094/1.355, allocations: 186.3 kB / 0.5997 GB, free: 2.184 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.02219/1.377, allocations: 12.22 MB / 0.6116 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006137/1.378, allocations: 0.6035 MB / 0.6122 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/1.378, allocations: 254.6 kB / 0.6125 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/1.379, allocations: 395 kB / 0.6128 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/1.379, allocations: 179.4 kB / 0.613 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.572e-05/1.379, allocations: 52 kB / 0.6131 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02627/1.405, allocations: 20.42 MB / 0.633 GB, free: 0 / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/1.405, allocations: 127.8 kB / 0.6331 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002014/1.406, allocations: 200.8 kB / 0.6333 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02014/1.426, allocations: 13.04 MB / 0.6461 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.426, allocations: 0 / 0.6461 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.583e-06/1.426, allocations: 0 / 0.6461 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.913e-06/1.426, allocations: 0 / 0.6461 GB, free: 2.605 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.003757/1.429, allocations: 2.093 MB / 0.6481 GB, free: 476 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.429, allocations: 15.98 kB / 0.6481 GB, free: 460 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/1.43, allocations: 111.6 kB / 0.6482 GB, free: 348 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/1.43, allocations: 322.4 kB / 0.6485 GB, free: 0 / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/1.43, allocations: 38.23 kB / 0.6486 GB, free: 15.96 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/1.43, allocations: 59.98 kB / 0.6486 GB, free: 15.9 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/1.43, allocations: 471.9 kB / 0.6491 GB, free: 15.39 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.43, allocations: 0 / 0.6491 GB, free: 15.39 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/1.43, allocations: 20 kB / 0.6491 GB, free: 15.37 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/1.43, allocations: 23.98 kB / 0.6491 GB, free: 15.34 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/1.431, allocations: 183.4 kB / 0.6493 GB, free: 15.16 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/1.432, allocations: 2.118 MB / 0.6514 GB, free: 12.98 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/1.432, allocations: 99.08 kB / 0.6515 GB, free: 12.87 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/1.432, allocations: 43.84 kB / 0.6515 GB, free: 12.82 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3609/1.793, allocations: 83.84 MB / 0.7334 GB, free: 80.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/1.793, allocations: 37.2 kB / 0.7334 GB, free: 80.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 2.334e-06/1.793, allocations: 4 kB / 0.7334 GB, free: 80.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.0008508/1.794, allocations: 465.4 kB / 0.7339 GB, free: 79.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.499e-05/1.794, allocations: 54.91 kB / 0.7339 GB, free: 79.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/1.794, allocations: 370 kB / 0.7343 GB, free: 79.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/1.794, allocations: 29.7 kB / 0.7343 GB, free: 79.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/1.795, allocations: 344.1 kB / 0.7346 GB, free: 79.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/1.795, allocations: 91.98 kB / 0.7347 GB, free: 79.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/1.795, allocations: 98.11 kB / 0.7348 GB, free: 79.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.655e-05/1.795, allocations: 0.5093 MB / 0.7353 GB, free: 78.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/1.795, allocations: 37.69 kB / 0.7353 GB, free: 78.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.703e-05/1.795, allocations: 215.3 kB / 0.7355 GB, free: 78.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/1.795, allocations: 287.1 kB / 0.7358 GB, free: 78.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.795, allocations: 1.203 kB / 0.7358 GB, free: 78.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003785/1.795, allocations: 423.5 kB / 0.7362 GB, free: 78.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.795, allocations: 8 kB / 0.7362 GB, free: 78.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.795, allocations: 4.562 kB / 0.7362 GB, free: 78.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004357/1.796, allocations: 236.5 kB / 0.7364 GB, free: 78.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/1.796, allocations: 48.56 kB / 0.7365 GB, free: 77.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004114/1.796, allocations: 1.711 MB / 0.7382 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.225e-05/1.796, allocations: 35.94 kB / 0.7382 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/1.796, allocations: 18.16 kB / 0.7382 GB, free: 76.24 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 9.506e-05/1.797, allocations: 181.8 kB / 0.7384 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/1.797, allocations: 38.62 kB / 0.7384 GB, free: 76.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/1.797, allocations: 389.9 kB / 0.7388 GB, free: 75.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002144/1.797, allocations: 297.6 kB / 0.7391 GB, free: 75.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/1.797, allocations: 4 kB / 0.7391 GB, free: 75.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.797, allocations: 6.188 kB / 0.7391 GB, free: 75.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006313/1.798, allocations: 0.7946 MB / 0.7399 GB, free: 74.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.798, allocations: 4 kB / 0.7399 GB, free: 74.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/1.798, allocations: 25.86 kB / 0.7399 GB, free: 74.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003136/1.798, allocations: 196.3 kB / 0.7401 GB, free: 74.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/1.798, allocations: 11.03 kB / 0.7401 GB, free: 74.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003318/1.798, allocations: 1.697 MB / 0.7418 GB, free: 72.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.798, allocations: 7.938 kB / 0.7418 GB, free: 72.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/1.799, allocations: 495.3 kB / 0.7422 GB, free: 72.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/1.799, allocations: 69.39 kB / 0.7423 GB, free: 72.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/1.799, allocations: 12.98 kB / 0.7423 GB, free: 72.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/1.799, allocations: 3.188 kB / 0.7423 GB, free: 72.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/1.799, allocations: 24.28 kB / 0.7423 GB, free: 72.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/1.799, allocations: 6.875 kB / 0.7423 GB, free: 72.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.519e-05/1.799, allocations: 226.6 kB / 0.7426 GB, free: 72.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/1.799, allocations: 0 / 0.7426 GB, free: 72.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002419/1.801, allocations: 1.54 MB / 0.7441 GB, free: 71.14 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.003323/1.805, allocations: 2.547 MB / 0.7466 GB, free: 69.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003984/1.805, allocations: 274.5 kB / 0.7468 GB, free: 68.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.805, allocations: 4 kB / 0.7468 GB, free: 68.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/1.805, allocations: 150 kB / 0.747 GB, free: 68.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/1.806, allocations: 144.5 kB / 0.7471 GB, free: 68.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009909/1.807, allocations: 0.8011 MB / 0.7479 GB, free: 68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.191e-05/1.807, allocations: 118.9 kB / 0.748 GB, free: 67.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.656e-05/1.807, allocations: 50.09 kB / 0.748 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/1.807, allocations: 162.5 kB / 0.7482 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of SimCode: time 7.92e-07/1.807, allocations: 4 kB / 0.7482 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.04201/1.849, allocations: 58.52 MB / 0.8054 GB, free: 12.97 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.564605258405209]