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.4541/0.4541, allocations: 111.7 MB / 121.6 MB, free: 4.746 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08007/0.5342, allocations: 33.98 MB / 155.6 MB, free: 3.664 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.563e-06/1.563e-06, allocations: 0 / 156.9 MB, free: 2.387 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.922e-05, allocations: 2.312 kB / 156.9 MB, free: 2.383 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 0.9734/0.9734, allocations: 233.3 MB / 390.2 MB, free: 2.629 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3034/1.277, allocations: 154.7 MB / 0.5322 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/1.277, allocations: 3.125 kB / 0.5322 GB, free: 13.75 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.0002432/1.277, allocations: 105.7 kB / 0.5323 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/1.277, allocations: 103.9 kB / 0.5324 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004647/1.282, allocations: 2.933 MB / 0.5352 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003073/1.282, allocations: 380.4 kB / 0.5356 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/1.282, allocations: 163 kB / 0.5358 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/1.283, allocations: 246.4 kB / 0.536 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/1.283, allocations: 114.8 kB / 0.5361 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/1.283, allocations: 33 kB / 0.5361 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008852/1.292, allocations: 7.728 MB / 0.5437 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/1.292, allocations: 54.81 kB / 0.5437 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/1.292, allocations: 101.3 kB / 0.5438 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003822/1.296, allocations: 3.199 MB / 0.547 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.429e-05/1.296, allocations: 5.203 kB / 0.547 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.483e-06/1.296, allocations: 3.094 kB / 0.547 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.347e-05/1.296, allocations: 0 / 0.547 GB, free: 13.14 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.001811/1.297, allocations: 1.039 MB / 0.548 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/1.298, allocations: 8.875 kB / 0.548 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/1.298, allocations: 56.23 kB / 0.548 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/1.298, allocations: 162.7 kB / 0.5482 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/1.298, allocations: 32.36 kB / 0.5482 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/1.298, allocations: 44.06 kB / 0.5483 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/1.298, allocations: 340.2 kB / 0.5486 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/1.298, allocations: 3.5 kB / 0.5486 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/1.298, allocations: 12.91 kB / 0.5486 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/1.298, allocations: 17.92 kB / 0.5486 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/1.298, allocations: 107.2 kB / 0.5487 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/1.299, allocations: 1.461 MB / 0.5502 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/1.299, allocations: 157.7 kB / 0.5503 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.344e-05/1.3, allocations: 47.22 kB / 0.5504 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006601/1.306, allocations: 4.121 MB / 0.5544 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/1.306, allocations: 37.09 kB / 0.5544 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 1.683e-06/1.306, allocations: 0 / 0.5544 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.000417/1.307, allocations: 197.8 kB / 0.5546 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/1.307, allocations: 55.41 kB / 0.5547 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/1.307, allocations: 169.9 kB / 0.5548 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/1.307, allocations: 25.7 kB / 0.5548 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/1.307, allocations: 198.2 kB / 0.555 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/1.307, allocations: 84.7 kB / 0.5551 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/1.307, allocations: 51.27 kB / 0.5552 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.101e-05/1.307, allocations: 325.1 kB / 0.5555 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-05/1.307, allocations: 36.78 kB / 0.5555 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/1.307, allocations: 93.88 kB / 0.5556 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/1.307, allocations: 155.8 kB / 0.5557 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.307, allocations: 0 / 0.5557 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001933/1.307, allocations: 183 kB / 0.5559 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.307, allocations: 9.406 kB / 0.5559 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.307, allocations: 0 / 0.5559 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/1.308, allocations: 55.27 kB / 0.556 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/1.308, allocations: 64.64 kB / 0.556 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004273/1.308, allocations: 1.061 MB / 0.5571 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/1.308, allocations: 27.75 kB / 0.5571 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/1.308, allocations: 12.64 kB / 0.5571 GB, free: 7.258 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 7.785e-05/1.308, allocations: 130 kB / 0.5572 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/1.308, allocations: 12.47 kB / 0.5572 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/1.309, allocations: 162.5 kB / 0.5574 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/1.309, allocations: 3.547 kB / 0.5574 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/1.309, allocations: 0 / 0.5574 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/1.309, allocations: 0 / 0.5574 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/1.309, allocations: 445.7 kB / 0.5578 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.309, allocations: 4 kB / 0.5578 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.012e-05/1.309, allocations: 29.2 kB / 0.5579 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/1.309, allocations: 13.41 kB / 0.5579 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/1.309, allocations: 51.36 kB / 0.5579 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/1.309, allocations: 13.5 kB / 0.5579 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002994/1.309, allocations: 1.053 MB / 0.559 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.309, allocations: 3.031 kB / 0.559 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/1.31, allocations: 291 kB / 0.5592 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/1.31, allocations: 3.312 kB / 0.5593 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.562e-05/1.31, allocations: 6.406 kB / 0.5593 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/1.31, allocations: 15.84 kB / 0.5593 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/1.31, allocations: 9.344 kB / 0.5593 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.791e-05/1.31, allocations: 42.55 kB / 0.5593 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/1.31, allocations: 0 / 0.5593 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007463/1.311, allocations: 429.3 kB / 0.5597 GB, free: 5.273 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.0009825/1.312, allocations: 0.5948 MB / 0.5603 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001958/1.312, allocations: 119.9 kB / 0.5604 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.312, allocations: 7.031 kB / 0.5604 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/1.312, allocations: 83.17 kB / 0.5605 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/1.312, allocations: 159.7 kB / 0.5607 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/1.316, allocations: 0.5243 MB / 0.5612 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.387e-05/1.316, allocations: 86.72 kB / 0.5613 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.693e-05/1.316, allocations: 15.14 kB / 0.5613 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.092e-05/1.316, allocations: 78.8 kB / 0.5613 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of SimCode: time 8.82e-07/1.316, allocations: 0 / 0.5613 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of Templates: time 0.01406/1.33, allocations: 15.21 MB / 0.5762 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07303/1.403, allocations: 53.73 MB / 0.6287 GB, free: 13.79 MB / 0.5573 GB " [Timeout remaining time 659] 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.4257908072322607]