Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00246/0.00246, allocations: 80.52 kB / 19.95 MB, free: 4.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002815/0.002815, allocations: 173.2 kB / 23.23 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.618/1.618, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.244/3.244, allocations: 389.5 MB / 0.6343 GB, free: 12.64 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.318e-05/3.513e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05166/0.0517, allocations: 38.15 MB / 1.038 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.5816/0.6333, allocations: 9.649 MB / 1.048 GB, free: 44.41 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.6352, allocations: 81.72 kB / 1.048 GB, free: 44.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.6368, allocations: 0.6395 MB / 1.049 GB, free: 44.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004715/0.6415, allocations: 2.068 MB / 1.051 GB, free: 44.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.6442, allocations: 1.255 MB / 1.052 GB, free: 44.05 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004129/0.6483, allocations: 3.448 MB / 1.055 GB, free: 43.4 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.6496, allocations: 0.7807 MB / 1.056 GB, free: 43.32 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004008/0.6536, allocations: 1.872 MB / 1.058 GB, free: 43.1 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.6549, allocations: 0.7838 MB / 1.058 GB, free: 43 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.6551, allocations: 100.3 kB / 1.059 GB, free: 43 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.6569, allocations: 0.7224 MB / 1.059 GB, free: 42.93 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.6572, allocations: 304.7 kB / 1.06 GB, free: 42.86 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005535/0.6577, allocations: 438.6 kB / 1.06 GB, free: 42.81 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.6603, allocations: 1.957 MB / 1.062 GB, free: 42.62 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.6604, allocations: 2.781 kB / 1.062 GB, free: 42.62 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6604, allocations: 0 / 1.062 GB, free: 42.62 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.6604, allocations: 4 kB / 1.062 GB, free: 42.62 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002037/0.6624, allocations: 1.458 MB / 1.063 GB, free: 41.88 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6624, allocations: 10.31 kB / 1.063 GB, free: 41.88 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/0.6628, allocations: 143.3 kB / 1.063 GB, free: 41.81 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.6642, allocations: 1.053 MB / 1.064 GB, free: 41.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.6642, allocations: 53.25 kB / 1.065 GB, free: 41.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.375e-05/0.6643, allocations: 70.47 kB / 1.065 GB, free: 41.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.6655, allocations: 0.9441 MB / 1.066 GB, free: 41.18 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.6656, allocations: 7.281 kB / 1.066 GB, free: 41.18 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/0.6656, allocations: 33.5 kB / 1.066 GB, free: 41.18 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.6656, allocations: 25.94 kB / 1.066 GB, free: 41.17 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009923/0.6666, allocations: 0.5682 MB / 1.066 GB, free: 41.17 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.6699, allocations: 2.6 MB / 1.069 GB, free: 39.75 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/0.6705, allocations: 245.5 kB / 1.069 GB, free: 39.66 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.6708, allocations: 165.5 kB / 1.069 GB, free: 39.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.671, allocations: 62.2 kB / 1.069 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.6711, allocations: 45.12 kB / 1.069 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.6711, allocations: 0 / 1.069 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of matching and sorting (n=31): time 0.001054/0.6721, allocations: 0.5 MB / 1.07 GB, free: 39.36 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.6721, allocations: 54 kB / 1.07 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008229/0.673, allocations: 0.8107 MB / 1.071 GB, free: 38.95 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.673, allocations: 40.02 kB / 1.071 GB, free: 38.91 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.6733, allocations: 0.5092 MB / 1.071 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.037e-05/0.6733, allocations: 118.4 kB / 1.071 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.6735, allocations: 113 kB / 1.071 GB, free: 38.35 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.931e-05/0.6735, allocations: 332.1 kB / 1.072 GB, free: 38.04 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.6739, allocations: 160.4 kB / 1.072 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.6743, allocations: 0.4968 MB / 1.072 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.675, allocations: 0.5163 MB / 1.073 GB, free: 37.21 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.675, allocations: 4 kB / 1.073 GB, free: 37.21 MB / 0.9948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009589/0.676, allocations: 0.6135 MB / 1.073 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.676, allocations: 7.875 kB / 1.073 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.676, allocations: 5.25 kB / 1.073 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.676, allocations: 7.875 kB / 1.073 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.6764, allocations: 121.6 kB / 1.073 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.6764, allocations: 11.12 kB / 1.073 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.6769, allocations: 70.38 kB / 1.074 GB, free: 36.94 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.677, allocations: 29 kB / 1.074 GB, free: 36.93 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002959/0.6773, allocations: 275.4 kB / 1.074 GB, free: 36.73 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.6774, allocations: 93.38 kB / 1.074 GB, free: 36.68 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008498/0.6782, allocations: 481 kB / 1.074 GB, free: 36.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.6782, allocations: 5.703 kB / 1.074 GB, free: 36.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6783, allocations: 0 / 1.074 GB, free: 36.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006233/0.6789, allocations: 457 kB / 1.075 GB, free: 36.25 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.6805, allocations: 1.158 MB / 1.076 GB, free: 35.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6805, allocations: 6.562 kB / 1.076 GB, free: 35.65 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.6808, allocations: 80.25 kB / 1.076 GB, free: 35.64 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.6808, allocations: 2.656 kB / 1.076 GB, free: 35.64 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.6808, allocations: 9.812 kB / 1.076 GB, free: 35.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.6808, allocations: 5.188 kB / 1.076 GB, free: 35.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6808, allocations: 3.062 kB / 1.076 GB, free: 35.64 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.6819, allocations: 0.7656 MB / 1.077 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.6821, allocations: 130.3 kB / 1.077 GB, free: 35.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-05/0.6822, allocations: 12.34 kB / 1.077 GB, free: 35.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.6826, allocations: 30.36 kB / 1.077 GB, free: 35.15 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.6827, allocations: 32.22 kB / 1.077 GB, free: 35.14 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.6827, allocations: 20.64 kB / 1.077 GB, free: 35.14 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005436/0.6833, allocations: 0.548 MB / 1.078 GB, free: 34.91 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6833, allocations: 0 / 1.078 GB, free: 34.91 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0009251/0.6842, allocations: 363.9 kB / 1.078 GB, free: 34.81 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005474/0.6847, allocations: 387.9 kB / 1.078 GB, free: 34.66 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000758/0.6855, allocations: 408.1 kB / 1.079 GB, free: 34.55 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6855, allocations: 0 / 1.079 GB, free: 34.55 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.6858, allocations: 174.7 kB / 1.079 GB, free: 34.52 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.6878, allocations: 463.9 kB / 1.079 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.6901, allocations: 1.537 MB / 1.081 GB, free: 33.51 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.6906, allocations: 454.5 kB / 1.081 GB, free: 33.37 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005343/0.6911, allocations: 168.5 kB / 1.081 GB, free: 33.33 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.6912, allocations: 74.77 kB / 1.081 GB, free: 33.32 MB / 0.9948 GB Notification: Performance of SimCode: time 6.21e-07/0.6912, allocations: 0 / 1.081 GB, free: 33.32 MB / 0.9948 GB Notification: Performance of Templates: time 0.035/0.7262, allocations: 18.4 MB / 1.099 GB, free: 30.89 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.270031173713505]