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 / 132.2 MB, free: 4.957 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.313e-06/1.313e-06, allocations: 3.938 kB / 177.3 MB, free: 8.977 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.334e-05, allocations: 8.984 kB / 177.3 MB, free: 8.969 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 0.9988/0.9988, allocations: 257 MB / 434.4 MB, free: 280 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.2986/1.297, allocations: 152 MB / 0.5726 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/1.298, allocations: 4 kB / 0.5726 GB, free: 14.12 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.0003227/1.298, allocations: 107.3 kB / 0.5727 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/1.298, allocations: 107 kB / 0.5728 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00648/1.304, allocations: 3.381 MB / 0.5761 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000322/1.305, allocations: 382.8 kB / 0.5765 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/1.305, allocations: 156.8 kB / 0.5766 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/1.305, allocations: 243.4 kB / 0.5769 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/1.305, allocations: 111.7 kB / 0.577 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/1.305, allocations: 36 kB / 0.577 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007851/1.313, allocations: 7.251 MB / 0.5841 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/1.313, allocations: 67.75 kB / 0.5841 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.406e-05/1.313, allocations: 131.7 kB / 0.5843 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.004052/1.317, allocations: 4.428 MB / 0.5886 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.317, allocations: 0 / 0.5886 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.273e-06/1.317, allocations: 0 / 0.5886 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.679e-06/1.317, allocations: 0 / 0.5886 GB, free: 13.76 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.001277/1.319, allocations: 0.8758 MB / 0.5895 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/1.319, allocations: 15.98 kB / 0.5895 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/1.319, allocations: 68.7 kB / 0.5895 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/1.319, allocations: 184.5 kB / 0.5897 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/1.319, allocations: 32.94 kB / 0.5897 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/1.319, allocations: 39.94 kB / 0.5898 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/1.319, allocations: 364.9 kB / 0.5901 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.319, allocations: 4 kB / 0.5901 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/1.319, allocations: 16 kB / 0.5901 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/1.319, allocations: 16 kB / 0.5902 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/1.32, allocations: 120.3 kB / 0.5903 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/1.321, allocations: 2.046 MB / 0.5923 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/1.321, allocations: 123.2 kB / 0.5924 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.954e-05/1.321, allocations: 51.66 kB / 0.5924 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007291/1.328, allocations: 4.173 MB / 0.5965 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/1.328, allocations: 45.33 kB / 0.5966 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/1.328, allocations: 0 / 0.5966 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.0005425/1.329, allocations: 234.9 kB / 0.5968 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/1.329, allocations: 55.39 kB / 0.5968 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/1.329, allocations: 213.7 kB / 0.597 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/1.329, allocations: 29.64 kB / 0.5971 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/1.329, allocations: 254.9 kB / 0.5973 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/1.329, allocations: 79.27 kB / 0.5974 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/1.329, allocations: 63.28 kB / 0.5974 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.329, allocations: 0.5001 MB / 0.5979 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/1.329, allocations: 24.27 kB / 0.598 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/1.329, allocations: 125.4 kB / 0.5981 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/1.33, allocations: 177.2 kB / 0.5982 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.33, allocations: 7.875 kB / 0.5983 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002245/1.33, allocations: 208.8 kB / 0.5985 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.33, allocations: 8.062 kB / 0.5985 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.33, allocations: 4 kB / 0.5985 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/1.33, allocations: 71.25 kB / 0.5985 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/1.33, allocations: 47.97 kB / 0.5986 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004896/1.331, allocations: 1.612 MB / 0.6002 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.673e-05/1.331, allocations: 27.78 kB / 0.6002 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/1.331, allocations: 12.75 kB / 0.6002 GB, free: 1.422 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 8.687e-05/1.331, allocations: 164.6 kB / 0.6003 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/1.331, allocations: 19.88 kB / 0.6004 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/1.331, allocations: 193 kB / 0.6006 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/1.331, allocations: 4 kB / 0.6006 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/1.331, allocations: 0 / 0.6006 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.331, allocations: 0 / 0.6006 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/1.332, allocations: 0.5001 MB / 0.601 GB, free: 488 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.332, allocations: 0 / 0.601 GB, free: 488 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.674e-05/1.332, allocations: 33.08 kB / 0.6011 GB, free: 456 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/1.332, allocations: 59.27 kB / 0.6011 GB, free: 388 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/1.332, allocations: 4 kB / 0.6011 GB, free: 384 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004508/1.332, allocations: 1.612 MB / 0.6027 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.332, allocations: 0 / 0.6027 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/1.332, allocations: 345 kB / 0.603 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/1.332, allocations: 19.84 kB / 0.6031 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/1.332, allocations: 9.188 kB / 0.6031 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.892e-05/1.333, allocations: 4 kB / 0.6031 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/1.333, allocations: 15.91 kB / 0.6031 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/1.333, allocations: 8 kB / 0.6031 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.35e-05/1.333, allocations: 147 kB / 0.6032 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/1.333, allocations: 0 / 0.6032 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006019/1.333, allocations: 435.1 kB / 0.6036 GB, free: 13.7 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.001145/1.334, allocations: 0.582 MB / 0.6042 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002192/1.335, allocations: 129.7 kB / 0.6043 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/1.335, allocations: 0 / 0.6043 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.008e-05/1.335, allocations: 81.61 kB / 0.6044 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/1.335, allocations: 44.8 kB / 0.6045 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000741/1.336, allocations: 0.5172 MB / 0.605 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.478e-05/1.336, allocations: 83.97 kB / 0.605 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.649e-05/1.336, allocations: 18.27 kB / 0.6051 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.706e-05/1.336, allocations: 110.2 kB / 0.6052 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of SimCode: time 7.31e-07/1.336, allocations: 3.938 kB / 0.6052 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.01439/1.35, allocations: 15.49 MB / 0.6203 GB, free: 12.66 MB / 0.5417 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: 4.26862657116726]