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.8508/0.8508, allocations: 153.8 MB / 173.4 MB, free: 4.941 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.0005658/0.0005658, allocations: 19.95 kB / 251.1 MB, free: 3.957 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1957, allocations: 33.36 MB / 284.5 MB, free: 2.121 MB / 222.1 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.986/2.182, allocations: 308.2 MB / 0.5788 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2446/2.426, allocations: 192.4 MB / 0.7666 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000959/2.427, allocations: 15.88 kB / 0.7666 GB, free: 3.98 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/AirHumidity.mo:40:3-41:54: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:48:3-49:52: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:27:3-28:67: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:29:3-30:65: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:40:3-41:67: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:75:3-76:65: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.0007009/2.428, allocations: 152.5 kB / 0.7668 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.000645/2.428, allocations: 174.6 kB / 0.767 GB, free: 3.66 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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:63:5-63:84: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.03855/2.467, allocations: 12.24 MB / 0.7789 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001266/2.468, allocations: 0.5803 MB / 0.7795 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/2.469, allocations: 250.4 kB / 0.7797 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003946/2.469, allocations: 259 kB / 0.78 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/2.469, allocations: 258.9 kB / 0.7802 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.041e-05/2.469, allocations: 48 kB / 0.7803 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04468/2.514, allocations: 21.93 MB / 0.8017 GB, free: 72 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003102/2.514, allocations: 131.6 kB / 0.8018 GB, free: 15.94 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004564/2.515, allocations: 295.3 kB / 0.8021 GB, free: 15.65 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.031/2.546, allocations: 10.5 MB / 0.8123 GB, free: 5.121 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/2.546, allocations: 0 / 0.8123 GB, free: 5.121 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.366e-06/2.546, allocations: 4 kB / 0.8123 GB, free: 5.117 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.37e-05/2.546, allocations: 4 kB / 0.8123 GB, free: 5.113 MB / 0.67 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.006768/2.553, allocations: 2.005 MB / 0.8143 GB, free: 3.066 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/2.553, allocations: 8.031 kB / 0.8143 GB, free: 3.059 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/2.553, allocations: 71.58 kB / 0.8144 GB, free: 2.988 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/2.553, allocations: 307.6 kB / 0.8147 GB, free: 2.664 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/2.553, allocations: 40.03 kB / 0.8147 GB, free: 2.625 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/2.554, allocations: 48 kB / 0.8148 GB, free: 2.578 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009277/2.554, allocations: 0.5509 MB / 0.8153 GB, free: 1.996 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/2.555, allocations: 0 / 0.8153 GB, free: 1.996 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/2.555, allocations: 20 kB / 0.8153 GB, free: 1.977 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/2.555, allocations: 23.98 kB / 0.8153 GB, free: 1.953 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006751/2.555, allocations: 359.7 kB / 0.8157 GB, free: 1.602 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003148/2.558, allocations: 2.614 MB / 0.8182 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/2.559, allocations: 132.8 kB / 0.8184 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/2.559, allocations: 77.06 kB / 0.8184 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5396/3.098, allocations: 94.67 MB / 0.9109 GB, free: 245.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/3.099, allocations: 34.56 kB / 0.9109 GB, free: 245.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=26): time 3.266e-06/3.099, allocations: 0 / 0.9109 GB, free: 245.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=26): time 0.001664/3.1, allocations: 487.1 kB / 0.9114 GB, free: 245.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/3.1, allocations: 59.39 kB / 0.9114 GB, free: 245 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/3.101, allocations: 411.4 kB / 0.9118 GB, free: 244.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/3.101, allocations: 33.7 kB / 0.9119 GB, free: 244.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/3.101, allocations: 276.8 kB / 0.9121 GB, free: 244.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/3.101, allocations: 93.84 kB / 0.9122 GB, free: 244.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/3.101, allocations: 85.59 kB / 0.9123 GB, free: 244.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.05e-05/3.101, allocations: 350.7 kB / 0.9126 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/3.101, allocations: 80.09 kB / 0.9127 GB, free: 243.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/3.101, allocations: 207.9 kB / 0.9129 GB, free: 243.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/3.102, allocations: 314.4 kB / 0.9132 GB, free: 243.1 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/3.102, allocations: 7.984 kB / 0.9132 GB, free: 243.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007627/3.102, allocations: 447.2 kB / 0.9136 GB, free: 242.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/3.103, allocations: 4 kB / 0.9136 GB, free: 242.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/3.103, allocations: 4 kB / 0.9136 GB, free: 242.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008854/3.103, allocations: 272.1 kB / 0.9139 GB, free: 242.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/3.104, allocations: 42.36 kB / 0.9139 GB, free: 242.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007624/3.104, allocations: 1.25 MB / 0.9152 GB, free: 241.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/3.105, allocations: 53.86 kB / 0.9152 GB, free: 241.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/3.105, allocations: 16 kB / 0.9152 GB, free: 241.1 MB / 0.6856 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 0.0001827/3.105, allocations: 174.6 kB / 0.9154 GB, free: 240.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/3.105, allocations: 39.77 kB / 0.9154 GB, free: 240.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007542/3.106, allocations: 489 kB / 0.9159 GB, free: 240.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005295/3.106, allocations: 356.4 kB / 0.9162 GB, free: 240 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/3.106, allocations: 3.938 kB / 0.9163 GB, free: 240 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/3.106, allocations: 7.984 kB / 0.9163 GB, free: 240 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/3.107, allocations: 0.9999 MB / 0.9172 GB, free: 239 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/3.107, allocations: 3.984 kB / 0.9172 GB, free: 239 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/3.107, allocations: 24 kB / 0.9173 GB, free: 238.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006335/3.108, allocations: 226 kB / 0.9175 GB, free: 238.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/3.108, allocations: 8 kB / 0.9175 GB, free: 238.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006779/3.109, allocations: 1.258 MB / 0.9187 GB, free: 237.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/3.109, allocations: 7.812 kB / 0.9187 GB, free: 237.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/3.109, allocations: 498 kB / 0.9192 GB, free: 236.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/3.109, allocations: 86.36 kB / 0.9193 GB, free: 236.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/3.11, allocations: 4 kB / 0.9193 GB, free: 236.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/3.11, allocations: 8 kB / 0.9193 GB, free: 236.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/3.11, allocations: 22.95 kB / 0.9193 GB, free: 236.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/3.11, allocations: 8 kB / 0.9193 GB, free: 236.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002389/3.11, allocations: 283.1 kB / 0.9196 GB, free: 236.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/3.11, allocations: 0 / 0.9196 GB, free: 236.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004073/3.114, allocations: 1.535 MB / 0.9211 GB, free: 235.2 MB / 0.6856 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.006588/3.121, allocations: 2.26 MB / 0.9233 GB, free: 233.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001122/3.122, allocations: 340.8 kB / 0.9236 GB, free: 233 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/3.122, allocations: 0 / 0.9236 GB, free: 233 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004636/3.122, allocations: 176.6 kB / 0.9238 GB, free: 232.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008168/3.123, allocations: 148.7 kB / 0.9239 GB, free: 232.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/3.124, allocations: 0.8768 MB / 0.9248 GB, free: 231.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/3.125, allocations: 0.8506 MB / 0.9256 GB, free: 230.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/3.125, allocations: 31.44 kB / 0.9256 GB, free: 230.9 MB / 0.6856 GB Notification: Performance of SimCode: time 1.112e-06/3.125, allocations: 0 / 0.9256 GB, free: 230.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.04124/3.166, allocations: 33.73 MB / 0.9586 GB, free: 197.8 MB / 0.6856 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.734389522112906] Failed to read output from testmodel.py, exit status != 0: 3.341149949003011 3.350149754 0.801759815 Calling exit ...