Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.5051/0.5051, allocations: 111.6 MB / 131.5 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.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity") translateModel(ThermoSysPro.Examples.SimpleExamples.TestAirHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 4 kB / 176.6 MB, free: 8.914 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.449e-05, allocations: 2.312 kB / 176.6 MB, free: 8.91 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.Examples.SimpleExamples.TestAirHumidity): time 1.089/1.089, allocations: 262.8 MB / 439.5 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3483/1.437, allocations: 154.2 MB / 0.5798 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/1.437, allocations: 0 / 0.5798 GB, free: 10.03 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/SourcePQ.mo:15:3-16:78:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/AirHumidity.mo:22:3-23:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/AirHumidity.mo:26:3-27:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/PressureLosses/SingularPressureLoss.mo:11:3-12:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/PressureLosses/SingularPressureLoss.mo:13:3-14:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/Sink.mo:12:3-13:80:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003114/1.437, allocations: 109.4 kB / 0.5799 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001495/1.438, allocations: 103.1 kB / 0.58 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.006483/1.444, allocations: 3.386 MB / 0.5833 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003705/1.444, allocations: 382.8 kB / 0.5836 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/1.445, allocations: 167.4 kB / 0.5838 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/1.445, allocations: 235.4 kB / 0.584 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/1.445, allocations: 111.7 kB / 0.5841 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/1.445, allocations: 32 kB / 0.5842 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008802/1.454, allocations: 7.255 MB / 0.5913 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/1.454, allocations: 71.75 kB / 0.5913 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001743/1.454, allocations: 123.7 kB / 0.5914 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00674/1.461, allocations: 4.432 MB / 0.5958 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.461, allocations: 0 / 0.5958 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.683e-06/1.461, allocations: 0 / 0.5958 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.34e-06/1.461, allocations: 0 / 0.5958 GB, free: 9.66 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002027/1.463, allocations: 0.755 MB / 0.5965 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/1.463, allocations: 15.98 kB / 0.5965 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.397e-05/1.463, allocations: 56.89 kB / 0.5966 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/1.463, allocations: 161.6 kB / 0.5967 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/1.463, allocations: 32.98 kB / 0.5968 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/1.463, allocations: 35.94 kB / 0.5968 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/1.464, allocations: 344.6 kB / 0.5971 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/1.464, allocations: 11.94 kB / 0.5971 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/1.464, allocations: 16 kB / 0.5972 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/1.464, allocations: 8.875 kB / 0.5972 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/1.464, allocations: 115.2 kB / 0.5973 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/1.465, allocations: 1.441 MB / 0.5987 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/1.466, allocations: 154.4 kB / 0.5988 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.992e-05/1.466, allocations: 44.84 kB / 0.5989 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009183/1.475, allocations: 4.127 MB / 0.6029 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/1.475, allocations: 35.69 kB / 0.6029 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 2.534e-06/1.475, allocations: 0 / 0.6029 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.0005493/1.476, allocations: 203 kB / 0.6031 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/1.476, allocations: 55.39 kB / 0.6032 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/1.476, allocations: 152.6 kB / 0.6033 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/1.476, allocations: 37.69 kB / 0.6034 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/1.476, allocations: 200.1 kB / 0.6036 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/1.476, allocations: 83.25 kB / 0.6036 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/1.476, allocations: 53.67 kB / 0.6037 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.711e-05/1.476, allocations: 326.8 kB / 0.604 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.975e-05/1.476, allocations: 27.09 kB / 0.604 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.814e-05/1.476, allocations: 93.11 kB / 0.6041 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/1.476, allocations: 153.9 kB / 0.6043 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.476, allocations: 4 kB / 0.6043 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002678/1.477, allocations: 174 kB / 0.6044 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.477, allocations: 19.98 kB / 0.6044 GB, free: 488 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.477, allocations: 4.562 kB / 0.6044 GB, free: 484 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/1.477, allocations: 45.69 kB / 0.6045 GB, free: 432 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/1.477, allocations: 59.95 kB / 0.6045 GB, free: 372 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005022/1.478, allocations: 1.058 MB / 0.6056 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.162e-05/1.478, allocations: 27.78 kB / 0.6056 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/1.478, allocations: 8 kB / 0.6056 GB, free: 15.22 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (sourceFlueGasesPQ.C.b,airHumidity.C1.a,airHumidity.C2.b,singularPressureLoss.C1.a,singularPressureLoss.C2.b,sinkFlueGases.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002506/1.478, allocations: 121.8 kB / 0.6057 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/1.478, allocations: 19.92 kB / 0.6058 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/1.478, allocations: 154.3 kB / 0.6059 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/1.478, allocations: 3.984 kB / 0.6059 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/1.478, allocations: 0.5 kB / 0.6059 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.478, allocations: 4 kB / 0.6059 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/1.479, allocations: 434.5 kB / 0.6063 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.479, allocations: 0.6719 kB / 0.6063 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/1.479, allocations: 32.06 kB / 0.6064 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/1.479, allocations: 57.61 kB / 0.6064 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/1.479, allocations: 0 / 0.6064 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004044/1.48, allocations: 1.054 MB / 0.6074 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.48, allocations: 4 kB / 0.6074 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/1.48, allocations: 305.4 kB / 0.6077 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/1.48, allocations: 15.84 kB / 0.6077 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/1.48, allocations: 5.25 kB / 0.6078 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/1.48, allocations: 4 kB / 0.6078 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/1.48, allocations: 15.91 kB / 0.6078 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/1.48, allocations: 4 kB / 0.6078 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.209e-05/1.48, allocations: 28.83 kB / 0.6078 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/1.48, allocations: 0 / 0.6078 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001085/1.481, allocations: 435.1 kB / 0.6082 GB, free: 12.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001379/1.482, allocations: 0.5825 MB / 0.6088 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002557/1.483, allocations: 114.9 kB / 0.6089 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.483, allocations: 7.938 kB / 0.6089 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.41e-05/1.483, allocations: 74.28 kB / 0.609 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/1.483, allocations: 65.2 kB / 0.609 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/1.484, allocations: 0.5078 MB / 0.6095 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.013e-05/1.484, allocations: 83.98 kB / 0.6096 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.207e-05/1.484, allocations: 17.48 kB / 0.6096 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/1.484, allocations: 95.28 kB / 0.6097 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.143e-06/1.484, allocations: 0 / 0.6097 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.02058/1.505, allocations: 15.07 MB / 0.6244 GB, free: 11.81 MB / 0.5417 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestAirHumidity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9301565969362855]