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.4701/0.4701, allocations: 111.6 MB / 131.2 MB, free: 4.566 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.693e-06/1.693e-06, allocations: 0 / 176.2 MB, free: 9.164 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.24e-05, allocations: 6.312 kB / 176.2 MB, free: 9.156 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.031/1.031, allocations: 257 MB / 433.2 MB, free: 404 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3131/1.344, allocations: 154.8 MB / 0.5742 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/1.344, allocations: 4 kB / 0.5743 GB, free: 11.81 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.0003198/1.345, allocations: 105.9 kB / 0.5744 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/1.345, allocations: 107 kB / 0.5745 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00566/1.35, allocations: 3.382 MB / 0.5778 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/1.351, allocations: 382.8 kB / 0.5781 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/1.351, allocations: 160.8 kB / 0.5783 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/1.351, allocations: 239.4 kB / 0.5785 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/1.351, allocations: 111.7 kB / 0.5786 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/1.351, allocations: 36 kB / 0.5786 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007804/1.359, allocations: 7.252 MB / 0.5857 GB, free: 92 kB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.675e-05/1.359, allocations: 71.75 kB / 0.5858 GB, free: 20 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/1.359, allocations: 123.7 kB / 0.5859 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00478/1.364, allocations: 4.432 MB / 0.5902 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.364, allocations: 0 / 0.5902 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.403e-06/1.364, allocations: 0 / 0.5902 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.092e-06/1.364, allocations: 0 / 0.5902 GB, free: 11.46 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.001192/1.365, allocations: 0.8719 MB / 0.5911 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/1.365, allocations: 15.98 kB / 0.5911 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.356e-05/1.365, allocations: 68.69 kB / 0.5912 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/1.366, allocations: 192.5 kB / 0.5914 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/1.366, allocations: 32.94 kB / 0.5914 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/1.366, allocations: 39.94 kB / 0.5914 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/1.366, allocations: 389.6 kB / 0.5918 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.366, allocations: 4 kB / 0.5918 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/1.366, allocations: 16 kB / 0.5918 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/1.366, allocations: 8.812 kB / 0.5918 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/1.366, allocations: 155.7 kB / 0.592 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/1.368, allocations: 2.084 MB / 0.594 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/1.368, allocations: 143.2 kB / 0.5941 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/1.368, allocations: 60.59 kB / 0.5942 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008303/1.376, allocations: 4.898 MB / 0.599 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/1.376, allocations: 37.89 kB / 0.599 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/1.376, allocations: 0 / 0.599 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.0005055/1.377, allocations: 258.9 kB / 0.5993 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/1.377, allocations: 55.41 kB / 0.5993 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/1.377, allocations: 213.8 kB / 0.5995 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/1.377, allocations: 25.7 kB / 0.5996 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.927e-05/1.377, allocations: 246.9 kB / 0.5998 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/1.377, allocations: 83.27 kB / 0.5999 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/1.377, allocations: 67.3 kB / 0.5999 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.377, allocations: 0.5 MB / 0.6004 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.867e-05/1.377, allocations: 32.27 kB / 0.6005 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.773e-05/1.378, allocations: 129.4 kB / 0.6006 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/1.378, allocations: 189.2 kB / 0.6008 GB, free: 312 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.378, allocations: 8.5 kB / 0.6008 GB, free: 304 kB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002635/1.378, allocations: 228.6 kB / 0.601 GB, free: 60 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.378, allocations: 4 kB / 0.601 GB, free: 56 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.378, allocations: 8.266 kB / 0.601 GB, free: 48 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/1.378, allocations: 71.34 kB / 0.6011 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/1.378, allocations: 47.97 kB / 0.6011 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006638/1.379, allocations: 1.613 MB / 0.6027 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/1.379, allocations: 31.81 kB / 0.6027 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/1.379, allocations: 11.94 kB / 0.6027 GB, free: 14.2 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 (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 8.739e-05/1.379, allocations: 168.5 kB / 0.6029 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/1.379, allocations: 11.95 kB / 0.6029 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/1.38, allocations: 199.1 kB / 0.6031 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.38, allocations: 7.984 kB / 0.6031 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/1.38, allocations: 4 kB / 0.6031 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/1.38, allocations: 0 / 0.6031 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/1.38, allocations: 0.5526 MB / 0.6036 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/1.38, allocations: 4.625 kB / 0.6036 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.501e-05/1.38, allocations: 23.98 kB / 0.6037 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/1.38, allocations: 71.3 kB / 0.6037 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/1.38, allocations: 4 kB / 0.6037 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004356/1.381, allocations: 1.609 MB / 0.6053 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.381, allocations: 3.938 kB / 0.6053 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/1.381, allocations: 349.1 kB / 0.6056 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/1.381, allocations: 27.94 kB / 0.6057 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/1.381, allocations: 5.25 kB / 0.6057 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.875e-05/1.381, allocations: 11.94 kB / 0.6057 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/1.381, allocations: 11.97 kB / 0.6057 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/1.381, allocations: 7.938 kB / 0.6057 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.434e-05/1.381, allocations: 155 kB / 0.6059 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/1.381, allocations: 0 / 0.6059 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006379/1.382, allocations: 431.1 kB / 0.6063 GB, free: 10.38 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.001047/1.383, allocations: 0.5604 MB / 0.6068 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002604/1.383, allocations: 146.1 kB / 0.607 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.383, allocations: 4 kB / 0.607 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.122e-05/1.383, allocations: 84.8 kB / 0.607 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/1.383, allocations: 53.55 kB / 0.6071 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008578/1.384, allocations: 0.5103 MB / 0.6076 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.92e-05/1.384, allocations: 87.97 kB / 0.6077 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.633e-05/1.384, allocations: 17.47 kB / 0.6077 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/1.384, allocations: 16.5 kB / 0.6077 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/1.384, allocations: 3.938 kB / 0.6077 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of Templates: time 0.01489/1.399, allocations: 16.11 MB / 0.6234 GB, free: 8.812 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: 4.217577981762588]