Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.0009417/0.0009417, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001771/0.001771, allocations: 169 kB / 23.27 MB, free: 1.223 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.973/0.973, allocations: 177.2 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002521/0.002521, allocations: 246 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7398/0.7398, allocations: 138.4 MB / 455.5 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.5556 GB, free: 15.87 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.545e-05, allocations: 6.312 kB / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01531/0.01534, allocations: 20.82 MB / 0.5759 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.02796, allocations: 8.223 MB / 0.584 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003123/0.03109, allocations: 150.7 kB / 0.5841 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.03267, allocations: 0.6747 MB / 0.5848 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.005089/0.03776, allocations: 2.451 MB / 0.5872 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003381/0.04114, allocations: 1.93 MB / 0.589 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.007248/0.04838, allocations: 6.64 MB / 0.5955 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/0.05071, allocations: 1.643 MB / 0.5971 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005038/0.05575, allocations: 3.151 MB / 0.6002 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001858/0.05761, allocations: 1.621 MB / 0.6018 GB, free: 404 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002495/0.05786, allocations: 200 kB / 0.602 GB, free: 204 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008589/0.05872, allocations: 395.5 kB / 0.6024 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003779/0.0591, allocations: 0.5796 MB / 0.6029 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0008422/0.05994, allocations: 0.8301 MB / 0.6037 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.06217, allocations: 1.907 MB / 0.6056 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.06218, allocations: 0 / 0.6056 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.202e-06/0.06218, allocations: 0 / 0.6056 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3e-05/0.06221, allocations: 0 / 0.6056 GB, free: 12.48 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.002551/0.06476, allocations: 2.639 MB / 0.6082 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.06481, allocations: 9.938 kB / 0.6082 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005184/0.06533, allocations: 407 kB / 0.6086 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/0.06705, allocations: 1.737 MB / 0.6103 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/0.06711, allocations: 110.7 kB / 0.6104 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.06723, allocations: 144 kB / 0.6105 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.06849, allocations: 1.329 MB / 0.6118 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.06852, allocations: 15.89 kB / 0.6118 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.06859, allocations: 56 kB / 0.6119 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/0.06863, allocations: 40 kB / 0.6119 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.06911, allocations: 403.7 kB / 0.6123 GB, free: 5.332 MB / 0.5261 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.00479/0.0739, allocations: 5.733 MB / 0.6179 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.07423, allocations: 225.6 kB / 0.6181 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.07436, allocations: 129 kB / 0.6182 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.07449, allocations: 57.84 kB / 0.6183 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.07452, allocations: 41.89 kB / 0.6183 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=59): time 2.154e-06/0.07452, allocations: 0 / 0.6183 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59): time 0.0006869/0.07521, allocations: 495.9 kB / 0.6188 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.07524, allocations: 63.91 kB / 0.6189 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009229/0.07616, allocations: 1.321 MB / 0.6202 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.0762, allocations: 37.7 kB / 0.6202 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007679/0.07697, allocations: 1.045 MB / 0.6212 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.0771, allocations: 230 kB / 0.6214 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.07729, allocations: 244.3 kB / 0.6217 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.07741, allocations: 0.5237 MB / 0.6222 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.07759, allocations: 118.5 kB / 0.6223 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/0.07803, allocations: 0.8896 MB / 0.6232 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/0.07859, allocations: 0.7465 MB / 0.6239 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.0786, allocations: 4 kB / 0.6239 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0008235/0.07942, allocations: 0.8327 MB / 0.6247 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.07944, allocations: 12.03 kB / 0.6247 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.07945, allocations: 12 kB / 0.6247 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.07947, allocations: 16 kB / 0.6247 GB, free: 7.863 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.07993, allocations: 251.6 kB / 0.625 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.07994, allocations: 23.92 kB / 0.625 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.08043, allocations: 123.2 kB / 0.6251 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.08047, allocations: 43.98 kB / 0.6252 GB, free: 7.43 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0002608/0.08074, allocations: 232.1 kB / 0.6254 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.0809, allocations: 198.8 kB / 0.6256 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005374/0.08144, allocations: 0.4924 MB / 0.6261 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.08145, allocations: 11.98 kB / 0.6261 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.08145, allocations: 0 / 0.6261 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003166/0.08177, allocations: 457.2 kB / 0.6265 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.08356, allocations: 1.503 MB / 0.628 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.08356, allocations: 4 kB / 0.628 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.08387, allocations: 147.8 kB / 0.6281 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.08387, allocations: 4.25 kB / 0.6281 GB, free: 4.266 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.0839, allocations: 23.98 kB / 0.6281 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.0839, allocations: 4 kB / 0.6282 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.08391, allocations: 4 kB / 0.6282 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.08456, allocations: 0.7991 MB / 0.6289 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003042/0.08486, allocations: 258.6 kB / 0.6292 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-05/0.08495, allocations: 16 kB / 0.6292 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.0853, allocations: 39.95 kB / 0.6292 GB, free: 3.074 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.08537, allocations: 60.3 kB / 0.6293 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.08541, allocations: 31.97 kB / 0.6293 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000478/0.08589, allocations: 0.7387 MB / 0.63 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.08589, allocations: 0 / 0.63 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008542/0.08674, allocations: 0.5184 MB / 0.6306 GB, free: 1.734 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0002815/0.08703, allocations: 196.7 kB / 0.6307 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005071/0.08753, allocations: 466.1 kB / 0.6312 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.08754, allocations: 7.938 kB / 0.6312 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.08771, allocations: 175.6 kB / 0.6314 GB, free: 0.9023 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.08962, allocations: 0.9479 MB / 0.6323 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.09296, allocations: 2.773 MB / 0.635 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.09317, allocations: 348.1 kB / 0.6353 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007055/0.09388, allocations: 280 kB / 0.6356 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/0.09507, allocations: 0.7515 MB / 0.6363 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of SimCode: time 1.353e-06/0.09507, allocations: 0 / 0.6363 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of Templates: time 0.2296/0.3247, allocations: 33.61 MB / 0.6691 GB, free: 110.8 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.631780636031181]