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 4.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo): time 0.5039/0.5039, allocations: 111.7 MB / 121.5 MB, free: 4.797 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08334/0.5873, allocations: 33.97 MB / 155.5 MB, free: 3.73 MB / 154.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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 1.963e-06/1.963e-06, allocations: 0 / 156.8 MB, free: 2.473 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.403e-05, allocations: 4.984 kB / 156.8 MB, free: 2.469 MB / 154.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.059/1.059, allocations: 233.3 MB / 390.1 MB, free: 2.727 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3754/1.434, allocations: 154.7 MB / 0.532 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/1.435, allocations: 7.5 kB / 0.532 GB, free: 13.73 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] Notification: Performance of NFTyping.typeComponents: time 0.0003044/1.435, allocations: 104.1 kB / 0.5321 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001856/1.435, allocations: 104.5 kB / 0.5322 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005753/1.441, allocations: 2.927 MB / 0.5351 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000474/1.441, allocations: 384.6 kB / 0.5354 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/1.442, allocations: 157.6 kB / 0.5356 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/1.442, allocations: 246.3 kB / 0.5358 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/1.442, allocations: 115.7 kB / 0.5359 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/1.442, allocations: 32.97 kB / 0.536 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01095/1.453, allocations: 7.73 MB / 0.5435 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.866e-05/1.453, allocations: 56.48 kB / 0.5436 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002212/1.453, allocations: 103 kB / 0.5437 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006257/1.46, allocations: 3.208 MB / 0.5468 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.202e-05/1.46, allocations: 1.203 kB / 0.5468 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/1.46, allocations: 0 / 0.5468 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.003e-05/1.46, allocations: 0 / 0.5468 GB, free: 13.2 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.002242/1.462, allocations: 1.049 MB / 0.5478 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/1.462, allocations: 11.41 kB / 0.5478 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/1.462, allocations: 60.14 kB / 0.5479 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/1.462, allocations: 162.2 kB / 0.548 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/1.462, allocations: 29.52 kB / 0.5481 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/1.462, allocations: 39.16 kB / 0.5481 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/1.463, allocations: 342.3 kB / 0.5484 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.463, allocations: 2.781 kB / 0.5484 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/1.463, allocations: 12.94 kB / 0.5485 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/1.463, allocations: 14.12 kB / 0.5485 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/1.463, allocations: 111.6 kB / 0.5486 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/1.464, allocations: 1.458 MB / 0.55 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/1.464, allocations: 154.1 kB / 0.5501 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.709e-05/1.464, allocations: 45.52 kB / 0.5502 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006847/1.471, allocations: 4.122 MB / 0.5542 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/1.471, allocations: 36.03 kB / 0.5542 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 2.625e-06/1.471, allocations: 4 kB / 0.5543 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.0004503/1.471, allocations: 201.8 kB / 0.5544 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/1.471, allocations: 54.44 kB / 0.5545 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/1.472, allocations: 163.5 kB / 0.5547 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/1.472, allocations: 29.08 kB / 0.5547 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/1.472, allocations: 207.4 kB / 0.5549 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/1.472, allocations: 84.44 kB / 0.555 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/1.472, allocations: 49.61 kB / 0.555 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.555e-05/1.472, allocations: 324.4 kB / 0.5553 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/1.472, allocations: 30.77 kB / 0.5553 GB, free: 8.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/1.472, allocations: 87.73 kB / 0.5554 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/1.472, allocations: 155.1 kB / 0.5556 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.472, allocations: 0 / 0.5556 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002024/1.472, allocations: 185.1 kB / 0.5558 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.472, allocations: 11.23 kB / 0.5558 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.472, allocations: 2.906 kB / 0.5558 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/1.472, allocations: 55.88 kB / 0.5558 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/1.473, allocations: 60.58 kB / 0.5559 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004104/1.473, allocations: 1.068 MB / 0.5569 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.877e-05/1.473, allocations: 21.12 kB / 0.5569 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/1.473, allocations: 9.094 kB / 0.5569 GB, free: 7.312 MB / 0.5105 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.0001049/1.473, allocations: 126.3 kB / 0.5571 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/1.473, allocations: 16.2 kB / 0.5571 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/1.473, allocations: 164.9 kB / 0.5572 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.473, allocations: 3.984 kB / 0.5572 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/1.473, allocations: 0 / 0.5572 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.473, allocations: 3.984 kB / 0.5572 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/1.474, allocations: 443.5 kB / 0.5577 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/1.474, allocations: 4.094 kB / 0.5577 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.184e-05/1.474, allocations: 26.39 kB / 0.5577 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/1.474, allocations: 19.8 kB / 0.5577 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/1.474, allocations: 47.81 kB / 0.5578 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/1.474, allocations: 7.5 kB / 0.5578 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003451/1.474, allocations: 1.058 MB / 0.5588 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.474, allocations: 0 / 0.5588 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/1.475, allocations: 292.5 kB / 0.5591 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/1.475, allocations: 6.922 kB / 0.5591 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.516e-05/1.475, allocations: 6.312 kB / 0.5591 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/1.475, allocations: 12.06 kB / 0.5591 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/1.475, allocations: 2.781 kB / 0.5591 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.652e-05/1.475, allocations: 35.92 kB / 0.5591 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/1.475, allocations: 0 / 0.5591 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001072/1.476, allocations: 436.6 kB / 0.5596 GB, free: 5.336 MB / 0.5105 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.001272/1.477, allocations: 0.5987 MB / 0.5601 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002541/1.477, allocations: 124.2 kB / 0.5603 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/1.477, allocations: 6.75 kB / 0.5603 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/1.477, allocations: 79.42 kB / 0.5603 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/1.478, allocations: 60.88 kB / 0.5604 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/1.482, allocations: 0.5275 MB / 0.5609 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.827e-05/1.482, allocations: 87.22 kB / 0.561 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.77e-05/1.482, allocations: 14.27 kB / 0.561 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.664e-05/1.482, allocations: 86.31 kB / 0.5611 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/1.482, allocations: 0 / 0.5611 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of Templates: time 0.01675/1.498, allocations: 15.21 MB / 0.576 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08382/1.582, allocations: 53.72 MB / 0.6284 GB, free: 13.98 MB / 0.5573 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.7241218090057373]