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.0008932/0.0008932, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009657/0.0009657, allocations: 165 kB / 24.17 MB, free: 332 kB / 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.9659/0.9659, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.912/1.912, allocations: 389.6 MB / 0.6354 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 1.573e-06/1.573e-06, allocations: 0 / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.464e-05, allocations: 2.969 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01262/0.01264, allocations: 13.14 MB / 0.788 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.008048/0.02069, allocations: 5.454 MB / 0.7933 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.022, allocations: 79.31 kB / 0.7934 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007751/0.02278, allocations: 373.2 kB / 0.7938 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.02531, allocations: 1.347 MB / 0.7951 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.0271, allocations: 1.095 MB / 0.7961 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003393/0.03049, allocations: 3.345 MB / 0.7994 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.03156, allocations: 0.8278 MB / 0.8002 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.03367, allocations: 1.594 MB / 0.8018 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009193/0.03459, allocations: 0.757 MB / 0.8025 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.03472, allocations: 96 kB / 0.8026 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005425/0.03527, allocations: 295.5 kB / 0.8029 GB, free: 9 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.03546, allocations: 298.8 kB / 0.8032 GB, free: 8.707 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.0358, allocations: 431.7 kB / 0.8036 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.03687, allocations: 1.043 MB / 0.8046 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.03687, allocations: 1 kB / 0.8046 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.222e-06/0.03687, allocations: 0 / 0.8046 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.03688, allocations: 0 / 0.8046 GB, free: 7.238 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.001508/0.03839, allocations: 1.356 MB / 0.8059 GB, free: 5.852 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.03842, allocations: 9.938 kB / 0.8059 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.03866, allocations: 165.6 kB / 0.8061 GB, free: 5.684 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008284/0.03949, allocations: 0.7329 MB / 0.8068 GB, free: 4.922 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.03952, allocations: 50.38 kB / 0.8069 GB, free: 4.871 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.03959, allocations: 83.92 kB / 0.8069 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000517/0.0401, allocations: 0.6953 MB / 0.8076 GB, free: 4.02 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.04012, allocations: 5.812 kB / 0.8076 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.04016, allocations: 28 kB / 0.8077 GB, free: 3.988 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.04018, allocations: 20 kB / 0.8077 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.04042, allocations: 198.7 kB / 0.8079 GB, free: 3.773 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.04229, allocations: 2.165 MB / 0.81 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.0425, allocations: 166.4 kB / 0.8101 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.04257, allocations: 72.36 kB / 0.8102 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.695e-05/0.04267, allocations: 33.06 kB / 0.8102 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.04269, allocations: 30.56 kB / 0.8103 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 1.913e-06/0.04269, allocations: 4 kB / 0.8103 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31): time 0.0002919/0.04298, allocations: 200.8 kB / 0.8105 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.04301, allocations: 55.41 kB / 0.8105 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/0.04344, allocations: 0.674 MB / 0.8112 GB, free: 268 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.04346, allocations: 37.64 kB / 0.8112 GB, free: 224 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.04384, allocations: 414.8 kB / 0.8116 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.0439, allocations: 119 kB / 0.8117 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.04399, allocations: 115 kB / 0.8118 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.914e-05/0.04407, allocations: 329.9 kB / 0.8121 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.479e-05/0.04417, allocations: 64.95 kB / 0.8122 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.04437, allocations: 398.1 kB / 0.8126 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.04464, allocations: 328.2 kB / 0.8129 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.04465, allocations: 4 kB / 0.8129 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003443/0.04499, allocations: 359.9 kB / 0.8132 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.04501, allocations: 8.562 kB / 0.8132 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.04501, allocations: 4.688 kB / 0.8133 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.04503, allocations: 8 kB / 0.8133 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.04523, allocations: 112.9 kB / 0.8134 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.04524, allocations: 11.98 kB / 0.8134 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.04545, allocations: 56.69 kB / 0.8134 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.04547, allocations: 23.98 kB / 0.8135 GB, free: 13.72 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.0001334/0.04561, allocations: 154 kB / 0.8136 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.04567, allocations: 63.86 kB / 0.8137 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.04595, allocations: 239.2 kB / 0.8139 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.04595, allocations: 8 kB / 0.8139 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.04596, allocations: 0 / 0.8139 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001486/0.0461, allocations: 228.8 kB / 0.8141 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.04683, allocations: 0.7822 MB / 0.8149 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.04684, allocations: 1.656 kB / 0.8149 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.04699, allocations: 63.91 kB / 0.8149 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.04699, allocations: 4 kB / 0.8149 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.04701, allocations: 11.98 kB / 0.815 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.04701, allocations: 0.625 kB / 0.815 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.04701, allocations: 9.719 kB / 0.815 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.04735, allocations: 430.3 kB / 0.8154 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.04748, allocations: 111.3 kB / 0.8155 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.04753, allocations: 8.5 kB / 0.8155 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.04772, allocations: 21.66 kB / 0.8155 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.04777, allocations: 35.83 kB / 0.8155 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.04779, allocations: 11.98 kB / 0.8156 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002537/0.04804, allocations: 327.3 kB / 0.8159 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.04804, allocations: 0.8125 kB / 0.8159 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005354/0.04857, allocations: 283.3 kB / 0.8161 GB, free: 10.85 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.0002683/0.04884, allocations: 167.7 kB / 0.8163 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.04912, allocations: 224.7 kB / 0.8165 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.04913, allocations: 8.656 kB / 0.8165 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.385e-05/0.04922, allocations: 89.97 kB / 0.8166 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009718/0.05019, allocations: 484.3 kB / 0.8171 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.05251, allocations: 1.424 MB / 0.8185 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.05262, allocations: 191.1 kB / 0.8186 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000318/0.05294, allocations: 135.1 kB / 0.8188 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005371/0.05348, allocations: 357 kB / 0.8191 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.05348, allocations: 0 / 0.8191 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of Templates: time 0.02056/0.07404, allocations: 17.26 MB / 0.836 GB, free: 6.926 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.422792898956686]