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.001343/0.001343, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.001431/0.001431, allocations: 164.3 kB / 24.96 MB, free: 9.18 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.966/0.966, allocations: 177.1 MB / 205.4 MB, free: 5.473 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.937/1.937, allocations: 389.6 MB / 0.6362 GB, free: 12.29 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 9.62e-07/9.62e-07, allocations: 0 / 0.776 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.318e-05, allocations: 2.312 kB / 0.776 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.009862/0.009875, allocations: 13.19 MB / 0.7888 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007559/0.01743, allocations: 5.456 MB / 0.7942 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007527/0.01819, allocations: 79.31 kB / 0.7943 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.01876, allocations: 365.2 kB / 0.7946 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.02055, allocations: 1.342 MB / 0.7959 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.02182, allocations: 1.09 MB / 0.797 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002236/0.02406, allocations: 3.351 MB / 0.8002 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009534/0.02501, allocations: 0.847 MB / 0.8011 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.02635, allocations: 1.569 MB / 0.8026 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006484/0.02699, allocations: 0.7554 MB / 0.8033 GB, free: 9.34 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.543e-05/0.02709, allocations: 101.1 kB / 0.8034 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.02749, allocations: 291.5 kB / 0.8037 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.02767, allocations: 306.7 kB / 0.804 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003106/0.02798, allocations: 436 kB / 0.8044 GB, free: 8.23 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0008663/0.02884, allocations: 1.043 MB / 0.8054 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.02885, allocations: 4.938 kB / 0.8055 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.71e-07/0.02885, allocations: 0 / 0.8055 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.02886, allocations: 0 / 0.8055 GB, free: 7.18 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.001182/0.03004, allocations: 1.349 MB / 0.8068 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.03007, allocations: 9.344 kB / 0.8068 GB, free: 5.793 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.03029, allocations: 165.4 kB / 0.8069 GB, free: 5.633 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/0.03107, allocations: 0.7252 MB / 0.8076 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.0311, allocations: 58.36 kB / 0.8077 GB, free: 4.82 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.275e-05/0.03116, allocations: 76.97 kB / 0.8078 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.03171, allocations: 0.6983 MB / 0.8085 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.03172, allocations: 4.938 kB / 0.8085 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.03176, allocations: 32 kB / 0.8085 GB, free: 3.938 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.03179, allocations: 16 kB / 0.8085 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.03202, allocations: 198.7 kB / 0.8087 GB, free: 3.727 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.03375, allocations: 2.162 MB / 0.8108 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.03396, allocations: 172 kB / 0.811 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.03402, allocations: 72.64 kB / 0.811 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.646e-05/0.0341, allocations: 23.98 kB / 0.8111 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.03412, allocations: 39.75 kB / 0.8111 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 1.343e-06/0.03412, allocations: 0 / 0.8111 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31): time 0.0002541/0.03437, allocations: 200.2 kB / 0.8113 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.03439, allocations: 59.91 kB / 0.8113 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/0.03482, allocations: 0.6776 MB / 0.812 GB, free: 212 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.03485, allocations: 37.7 kB / 0.812 GB, free: 168 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.03502, allocations: 410.8 kB / 0.8124 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.03508, allocations: 119 kB / 0.8125 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.03517, allocations: 118.2 kB / 0.8127 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.03524, allocations: 326.8 kB / 0.813 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.399e-05/0.03534, allocations: 64.11 kB / 0.813 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.03555, allocations: 394.9 kB / 0.8134 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.03583, allocations: 336.1 kB / 0.8137 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.03584, allocations: 0 / 0.8137 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003578/0.0362, allocations: 348.4 kB / 0.8141 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.03621, allocations: 10.03 kB / 0.8141 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.03622, allocations: 12.8 kB / 0.8141 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.03623, allocations: 8 kB / 0.8141 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.03647, allocations: 121.5 kB / 0.8142 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.03648, allocations: 11.98 kB / 0.8142 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.03668, allocations: 56.84 kB / 0.8143 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.0367, allocations: 23.98 kB / 0.8143 GB, free: 13.66 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.0001286/0.03683, allocations: 148.4 kB / 0.8144 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.0369, allocations: 60.88 kB / 0.8145 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.03718, allocations: 249.8 kB / 0.8147 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.03718, allocations: 4 kB / 0.8147 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.03718, allocations: 0 / 0.8147 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001439/0.03733, allocations: 241.5 kB / 0.815 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000707/0.03803, allocations: 0.7714 MB / 0.8157 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.03804, allocations: 0.6562 kB / 0.8157 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.03821, allocations: 76.95 kB / 0.8158 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.03822, allocations: 7.938 kB / 0.8158 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.03823, allocations: 8.656 kB / 0.8158 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.03824, allocations: 4 kB / 0.8158 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.03824, allocations: 4.688 kB / 0.8158 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.03857, allocations: 433.8 kB / 0.8162 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.03871, allocations: 107.3 kB / 0.8163 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.03876, allocations: 8 kB / 0.8163 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.03893, allocations: 23.98 kB / 0.8164 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.03898, allocations: 31.83 kB / 0.8164 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.03901, allocations: 20.05 kB / 0.8164 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002456/0.03925, allocations: 327.3 kB / 0.8167 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.21e-07/0.03925, allocations: 0 / 0.8167 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004151/0.03967, allocations: 287.9 kB / 0.817 GB, free: 10.78 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.0002108/0.03988, allocations: 159.3 kB / 0.8172 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.04013, allocations: 225.2 kB / 0.8174 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.04015, allocations: 13.69 kB / 0.8174 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.796e-05/0.04023, allocations: 84.69 kB / 0.8175 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009185/0.04115, allocations: 471.7 kB / 0.8179 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.04265, allocations: 1.425 MB / 0.8193 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.04276, allocations: 187.1 kB / 0.8195 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002836/0.04305, allocations: 146.3 kB / 0.8196 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/0.0436, allocations: 357 kB / 0.82 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.0436, allocations: 0 / 0.82 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of Templates: time 0.01771/0.06131, allocations: 17.26 MB / 0.8368 GB, free: 6.867 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.309018158353865]