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.7734/0.7734, allocations: 111.6 MB / 131 MB, free: 5.094 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.523e-06/1.523e-06, allocations: 0 / 175.7 MB, free: 9.48 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.241e-05, allocations: 5.047 kB / 175.7 MB, free: 9.477 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.608/1.608, allocations: 255.1 MB / 430.9 MB, free: 128 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3921/2, allocations: 166.1 MB / 0.583 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/2, allocations: 15.88 kB / 0.583 GB, free: 7.652 MB / 0.4948 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.0004049/2, allocations: 127.1 kB / 0.5831 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004752/2.001, allocations: 178.4 kB / 0.5833 GB, free: 7.352 MB / 0.4948 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.03144/2.032, allocations: 12.21 MB / 0.5952 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0008927/2.033, allocations: 0.6112 MB / 0.5958 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/2.034, allocations: 246.7 kB / 0.596 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004857/2.034, allocations: 387 kB / 0.5964 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/2.034, allocations: 187.5 kB / 0.5966 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.462e-05/2.034, allocations: 48 kB / 0.5966 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03837/2.073, allocations: 20.42 MB / 0.6166 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002149/2.073, allocations: 131.5 kB / 0.6167 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003136/2.073, allocations: 199.5 kB / 0.6169 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.02595/2.099, allocations: 13.25 MB / 0.6298 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/2.099, allocations: 0 / 0.6298 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.463e-06/2.099, allocations: 0 / 0.6298 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.086e-06/2.099, allocations: 4 kB / 0.6298 GB, free: 7.574 MB / 0.5417 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.004768/2.104, allocations: 1.989 MB / 0.6318 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/2.104, allocations: 11.98 kB / 0.6318 GB, free: 5.531 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/2.104, allocations: 111.6 kB / 0.6319 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/2.105, allocations: 315.7 kB / 0.6322 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/2.105, allocations: 38.19 kB / 0.6322 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/2.105, allocations: 52 kB / 0.6323 GB, free: 5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/2.106, allocations: 0.5759 MB / 0.6328 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/2.106, allocations: 0 / 0.6328 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/2.106, allocations: 20 kB / 0.6328 GB, free: 4.363 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/2.106, allocations: 16 kB / 0.6329 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007538/2.107, allocations: 371.6 kB / 0.6332 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/2.11, allocations: 1.779 MB / 0.635 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/2.11, allocations: 142.7 kB / 0.6351 GB, free: 2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/2.11, allocations: 64.84 kB / 0.6352 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5495/2.66, allocations: 95.17 MB / 0.7281 GB, free: 116.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/2.66, allocations: 36.47 kB / 0.7281 GB, free: 116.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/2.66, allocations: 0 / 0.7281 GB, free: 116.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.001645/2.661, allocations: 499.3 kB / 0.7286 GB, free: 116.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/2.661, allocations: 53.16 kB / 0.7286 GB, free: 116.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/2.662, allocations: 339.8 kB / 0.729 GB, free: 116.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/2.662, allocations: 31.56 kB / 0.729 GB, free: 116.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/2.662, allocations: 280.9 kB / 0.7293 GB, free: 116.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/2.662, allocations: 96.16 kB / 0.7294 GB, free: 116.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/2.662, allocations: 89.77 kB / 0.7294 GB, free: 116.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.169e-05/2.662, allocations: 342.4 kB / 0.7298 GB, free: 116 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/2.662, allocations: 85.44 kB / 0.7299 GB, free: 116 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/2.662, allocations: 202.8 kB / 0.7301 GB, free: 115.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/2.663, allocations: 316.1 kB / 0.7304 GB, free: 115.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/2.663, allocations: 1.031 kB / 0.7304 GB, free: 115.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008946/2.664, allocations: 451.9 kB / 0.7308 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/2.664, allocations: 6.406 kB / 0.7308 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/2.664, allocations: 4.094 kB / 0.7308 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/2.665, allocations: 265 kB / 0.731 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/2.665, allocations: 42.12 kB / 0.7311 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007908/2.666, allocations: 1.258 MB / 0.7323 GB, free: 114.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/2.666, allocations: 38.3 kB / 0.7324 GB, free: 114.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/2.666, allocations: 18.66 kB / 0.7324 GB, free: 114.6 MB / 0.6198 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.0001576/2.666, allocations: 175.7 kB / 0.7325 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.501e-05/2.666, allocations: 45.27 kB / 0.7326 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008778/2.667, allocations: 484.4 kB / 0.733 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006465/2.668, allocations: 364 kB / 0.7334 GB, free: 114.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/2.668, allocations: 0 / 0.7334 GB, free: 114.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/2.668, allocations: 5.062 kB / 0.7334 GB, free: 114.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/2.669, allocations: 0.8862 MB / 0.7343 GB, free: 114 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/2.669, allocations: 1.906 kB / 0.7343 GB, free: 114 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/2.669, allocations: 26.72 kB / 0.7343 GB, free: 114 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007694/2.67, allocations: 239.1 kB / 0.7345 GB, free: 114 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/2.67, allocations: 5.781 kB / 0.7345 GB, free: 114 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007093/2.67, allocations: 1.267 MB / 0.7358 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/2.67, allocations: 7.438 kB / 0.7358 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006761/2.671, allocations: 0.4895 MB / 0.7362 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/2.671, allocations: 73.45 kB / 0.7363 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/2.671, allocations: 5.656 kB / 0.7363 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/2.671, allocations: 6.719 kB / 0.7363 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/2.672, allocations: 18.67 kB / 0.7363 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/2.672, allocations: 6.25 kB / 0.7363 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001876/2.672, allocations: 225.9 kB / 0.7366 GB, free: 112.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/2.672, allocations: 4 kB / 0.7366 GB, free: 112.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002855/2.675, allocations: 1.545 MB / 0.7381 GB, free: 112.6 MB / 0.6198 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.004875/2.679, allocations: 2.452 MB / 0.7405 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008532/2.68, allocations: 342.8 kB / 0.7408 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/2.68, allocations: 0 / 0.7408 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004879/2.681, allocations: 173.9 kB / 0.741 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/2.681, allocations: 157.1 kB / 0.7411 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/2.683, allocations: 0.8297 MB / 0.7419 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/2.683, allocations: 247.7 kB / 0.7422 GB, free: 111.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001375/2.683, allocations: 49.22 kB / 0.7422 GB, free: 111.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/2.683, allocations: 31.5 kB / 0.7422 GB, free: 111.7 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/2.683, allocations: 1.203 kB / 0.7422 GB, free: 111.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.04931/2.732, allocations: 49.25 MB / 0.7903 GB, free: 76.33 MB / 0.6198 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: 8.811790224979632]