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.4896/0.4896, allocations: 111.6 MB / 131.7 MB, free: 5.066 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 1.864e-06/1.864e-06, allocations: 0 / 176.5 MB, free: 9.414 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.404e-05, allocations: 5.703 kB / 176.5 MB, free: 9.41 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.085/1.085, allocations: 257 MB / 433.5 MB, free: 48 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3179/1.403, allocations: 154.5 MB / 0.5742 GB, free: 4.988 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/1.403, allocations: 4 kB / 0.5742 GB, free: 4.984 MB / 490.7 MB [/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.0003205/1.403, allocations: 101.3 kB / 0.5743 GB, free: 4.887 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/1.403, allocations: 111 kB / 0.5744 GB, free: 4.777 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005813/1.409, allocations: 3.381 MB / 0.5777 GB, free: 1.441 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003325/1.409, allocations: 382.8 kB / 0.5781 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/1.41, allocations: 160.8 kB / 0.5782 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/1.41, allocations: 235.4 kB / 0.5785 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/1.41, allocations: 111.7 kB / 0.5786 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/1.41, allocations: 32 kB / 0.5786 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00813/1.418, allocations: 7.252 MB / 0.5857 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/1.418, allocations: 79.73 kB / 0.5858 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/1.418, allocations: 123.7 kB / 0.5859 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.005851/1.424, allocations: 4.432 MB / 0.5902 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.424, allocations: 4 kB / 0.5902 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.313e-06/1.424, allocations: 0 / 0.5902 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.424, allocations: 0 / 0.5902 GB, free: 4.629 MB / 0.4948 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.001648/1.426, allocations: 0.8697 MB / 0.5911 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.426, allocations: 15.98 kB / 0.5911 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.33e-05/1.426, allocations: 68.7 kB / 0.5911 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/1.426, allocations: 188.5 kB / 0.5913 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/1.426, allocations: 29 kB / 0.5914 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/1.426, allocations: 39.94 kB / 0.5914 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/1.427, allocations: 389 kB / 0.5918 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.427, allocations: 7.938 kB / 0.5918 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/1.427, allocations: 16 kB / 0.5918 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/1.427, allocations: 13.05 kB / 0.5918 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/1.427, allocations: 151.7 kB / 0.5919 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/1.428, allocations: 2.086 MB / 0.594 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/1.429, allocations: 144.5 kB / 0.5941 GB, free: 440 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/1.429, allocations: 64.44 kB / 0.5942 GB, free: 372 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008604/1.437, allocations: 4.894 MB / 0.599 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.437, allocations: 45.33 kB / 0.599 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 2.285e-06/1.437, allocations: 0 / 0.599 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.0005902/1.438, allocations: 248.7 kB / 0.5992 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/1.438, allocations: 55.41 kB / 0.5993 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/1.438, allocations: 215.3 kB / 0.5995 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/1.438, allocations: 33.64 kB / 0.5995 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/1.438, allocations: 254.9 kB / 0.5998 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/1.438, allocations: 83.2 kB / 0.5998 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/1.438, allocations: 59.31 kB / 0.5999 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.439, allocations: 0.5 MB / 0.6004 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.748e-05/1.439, allocations: 36.25 kB / 0.6004 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/1.439, allocations: 134 kB / 0.6006 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/1.439, allocations: 184.2 kB / 0.6007 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.439, allocations: 0 / 0.6007 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000286/1.439, allocations: 240.7 kB / 0.601 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.439, allocations: 4 kB / 0.601 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/1.439, allocations: 7.938 kB / 0.601 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002252/1.439, allocations: 63.89 kB / 0.601 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/1.44, allocations: 60.03 kB / 0.6011 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005487/1.44, allocations: 1.612 MB / 0.6027 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/1.44, allocations: 21.16 kB / 0.6027 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/1.44, allocations: 12 kB / 0.6027 GB, free: 7.379 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 (sinkFlueGases.C.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,airHumidity.C2.b,airHumidity.C1.a,sourceFlueGasesPQ.C.b) * 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.0001027/1.44, allocations: 172.4 kB / 0.6029 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/1.44, allocations: 23.91 kB / 0.6029 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/1.441, allocations: 194.9 kB / 0.6031 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.441, allocations: 8 kB / 0.6031 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.441, allocations: 0.875 kB / 0.6031 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.441, allocations: 0 / 0.6031 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/1.441, allocations: 0.5512 MB / 0.6036 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.441, allocations: 8.094 kB / 0.6036 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.673e-05/1.441, allocations: 27.98 kB / 0.6036 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/1.441, allocations: 63.27 kB / 0.6037 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/1.441, allocations: 5.438 kB / 0.6037 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004459/1.442, allocations: 1.604 MB / 0.6053 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.442, allocations: 11.97 kB / 0.6053 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/1.442, allocations: 353.4 kB / 0.6056 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/1.442, allocations: 15.84 kB / 0.6056 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/1.442, allocations: 11.98 kB / 0.6057 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/1.442, allocations: 3.938 kB / 0.6057 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/1.442, allocations: 11.92 kB / 0.6057 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/1.442, allocations: 8 kB / 0.6057 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.681e-05/1.442, allocations: 151.2 kB / 0.6058 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/1.442, allocations: 0 / 0.6058 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008398/1.443, allocations: 439.1 kB / 0.6062 GB, free: 3.555 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.001115/1.444, allocations: 0.5578 MB / 0.6068 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000294/1.445, allocations: 153.5 kB / 0.6069 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/1.445, allocations: 0 / 0.6069 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/1.445, allocations: 87.77 kB / 0.607 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/1.445, allocations: 57.11 kB / 0.6071 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009779/1.446, allocations: 0.5108 MB / 0.6076 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.619e-05/1.446, allocations: 83.97 kB / 0.6077 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.332e-05/1.446, allocations: 17.48 kB / 0.6077 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/1.446, allocations: 12.5 kB / 0.6077 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/1.446, allocations: 4 kB / 0.6077 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of Templates: time 0.01376/1.46, allocations: 13.83 MB / 0.6212 GB, free: 4.238 MB / 0.5261 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: 4.1182174938730896]