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.001061/0.001061, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001177/0.001177, allocations: 166.4 kB / 25.04 MB, free: 9.152 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 0.9604/0.9604, allocations: 177.1 MB / 205.5 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] 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 1.866/1.866, allocations: 389.6 MB / 0.6363 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] 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.482e-06/1.482e-06, allocations: 0 / 0.7761 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.008e-05, allocations: 3.609 kB / 0.7761 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01039/0.01041, allocations: 13.18 MB / 0.789 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007798/0.01821, allocations: 5.43 MB / 0.7943 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.01945, allocations: 83.25 kB / 0.7944 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000757/0.0202, allocations: 365.2 kB / 0.7947 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.02253, allocations: 1.343 MB / 0.7961 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.02442, allocations: 1.075 MB / 0.7971 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003598/0.02801, allocations: 3.351 MB / 0.8004 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.02953, allocations: 0.838 MB / 0.8012 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.03167, allocations: 1.573 MB / 0.8027 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.03269, allocations: 0.7593 MB / 0.8035 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.03288, allocations: 96.75 kB / 0.8036 GB, free: 9.254 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007414/0.03362, allocations: 295.5 kB / 0.8038 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.03381, allocations: 308.1 kB / 0.8041 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.03419, allocations: 427 kB / 0.8045 GB, free: 8.246 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.03542, allocations: 1.051 MB / 0.8056 GB, free: 7.191 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.03543, allocations: 0 / 0.8056 GB, free: 7.191 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.543e-06/0.03543, allocations: 0.5 kB / 0.8056 GB, free: 7.191 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.513e-05/0.03545, allocations: 0 / 0.8056 GB, free: 7.191 MB / 0.7605 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.001594/0.03705, allocations: 1.345 MB / 0.8069 GB, free: 5.816 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.03708, allocations: 13.34 kB / 0.8069 GB, free: 5.805 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.03737, allocations: 169.1 kB / 0.8071 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009746/0.03834, allocations: 0.7247 MB / 0.8078 GB, free: 4.887 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.03838, allocations: 60.03 kB / 0.8078 GB, free: 4.828 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.902e-05/0.03846, allocations: 83.92 kB / 0.8079 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.03906, allocations: 0.6906 MB / 0.8086 GB, free: 3.98 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.03908, allocations: 0 / 0.8086 GB, free: 3.98 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.03912, allocations: 32.66 kB / 0.8086 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.03915, allocations: 27.98 kB / 0.8086 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.03941, allocations: 190.5 kB / 0.8088 GB, free: 3.734 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.0415, allocations: 2.158 MB / 0.8109 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.04174, allocations: 174.7 kB / 0.8111 GB, free: 1.328 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.302e-05/0.04182, allocations: 67.58 kB / 0.8112 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.901e-05/0.04191, allocations: 28.7 kB / 0.8112 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.04193, allocations: 39.69 kB / 0.8112 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.04193, allocations: 0 / 0.8112 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31): time 0.0003027/0.04223, allocations: 205 kB / 0.8114 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.04226, allocations: 55.41 kB / 0.8115 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.0427, allocations: 0.6769 MB / 0.8121 GB, free: 224 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.04273, allocations: 30.95 kB / 0.8122 GB, free: 188 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.04292, allocations: 418 kB / 0.8126 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.04312, allocations: 115 kB / 0.8127 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.04323, allocations: 114.9 kB / 0.8128 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.0433, allocations: 329.9 kB / 0.8131 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.229e-05/0.04339, allocations: 65.36 kB / 0.8132 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.0436, allocations: 402 kB / 0.8135 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.0439, allocations: 331.8 kB / 0.8139 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.0439, allocations: 4.906 kB / 0.8139 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000376/0.04428, allocations: 347.7 kB / 0.8142 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.04429, allocations: 8 kB / 0.8142 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.0443, allocations: 5.438 kB / 0.8142 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.04431, allocations: 8 kB / 0.8142 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.04454, allocations: 123.8 kB / 0.8143 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.04455, allocations: 15.25 kB / 0.8143 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.04476, allocations: 59.61 kB / 0.8144 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.04478, allocations: 24 kB / 0.8144 GB, free: 13.67 MB / 0.7761 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.0001338/0.04492, allocations: 140.5 kB / 0.8146 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.04498, allocations: 67.86 kB / 0.8146 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.04528, allocations: 252.5 kB / 0.8149 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.04528, allocations: 5.219 kB / 0.8149 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.04529, allocations: 0 / 0.8149 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001435/0.04543, allocations: 228.7 kB / 0.8151 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/0.04617, allocations: 0.7798 MB / 0.8159 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.04617, allocations: 5.531 kB / 0.8159 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.04636, allocations: 75.89 kB / 0.8159 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.04637, allocations: 7.984 kB / 0.8159 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.04638, allocations: 5.094 kB / 0.8159 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.04638, allocations: 7.938 kB / 0.816 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.04639, allocations: 4 kB / 0.816 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.04671, allocations: 427.9 kB / 0.8164 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.04684, allocations: 107.3 kB / 0.8165 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.04688, allocations: 11.98 kB / 0.8165 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.04706, allocations: 21.23 kB / 0.8165 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.04711, allocations: 31.83 kB / 0.8165 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.04713, allocations: 17.33 kB / 0.8165 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002344/0.04736, allocations: 327.3 kB / 0.8169 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.04736, allocations: 0 / 0.8169 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000476/0.04784, allocations: 279.3 kB / 0.8171 GB, free: 10.8 MB / 0.7761 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.0002532/0.04809, allocations: 163.4 kB / 0.8173 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002806/0.04837, allocations: 230.8 kB / 0.8175 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/0.04839, allocations: 8 kB / 0.8175 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.944e-05/0.04848, allocations: 88.67 kB / 0.8176 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009491/0.04943, allocations: 481.8 kB / 0.818 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.05107, allocations: 1.419 MB / 0.8194 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.05133, allocations: 191.1 kB / 0.8196 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003653/0.05169, allocations: 150.3 kB / 0.8198 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/0.05225, allocations: 353 kB / 0.8201 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of SimCode: time 8.41e-07/0.05225, allocations: 0 / 0.8201 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of Templates: time 0.02055/0.07279, allocations: 17.28 MB / 0.837 GB, free: 6.855 MB / 0.7917 GB " [Timeout remaining time 300] 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: 5.212514093145728]