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.001434/0.001434, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001602/0.001602, allocations: 216.1 kB / 22.99 MB, free: 4.945 MB / 14.72 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.00247/0.00247, allocations: 293.5 kB / 313.5 MB, free: 2.598 MB / 238.1 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 1.171/1.171, allocations: 180.6 MB / 0.5377 GB, free: 14.46 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002867/0.002867, allocations: 103.1 kB / 0.7407 GB, free: 27.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1556, allocations: 95.38 MB / 0.8339 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07536/0.231, allocations: 70.98 MB / 0.9032 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02781/0.2588, allocations: 17.55 MB / 0.9203 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003512/0.2623, allocations: 150.7 kB / 0.9205 GB, free: 14.84 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003562/0.2658, allocations: 1.242 MB / 0.9217 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.2761, allocations: 3.878 MB / 0.9255 GB, free: 9.691 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005434/0.2815, allocations: 2.141 MB / 0.9276 GB, free: 7.566 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009316/0.2908, allocations: 6.794 MB / 0.9342 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002753/0.2936, allocations: 1.576 MB / 0.9357 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005192/0.2988, allocations: 2.428 MB / 0.9381 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003219/0.302, allocations: 1.781 MB / 0.9398 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003895/0.3024, allocations: 200 kB / 0.94 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.3059, allocations: 1.341 MB / 0.9413 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006605/0.3066, allocations: 0.5679 MB / 0.9419 GB, free: 8.809 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.3081, allocations: 1.007 MB / 0.9429 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006033/0.3141, allocations: 3.784 MB / 0.9466 GB, free: 4 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3141, allocations: 0 / 0.9466 GB, free: 4 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3141, allocations: 0 / 0.9466 GB, free: 4 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.225e-05/0.3142, allocations: 0 / 0.9466 GB, free: 4 MB / 0.6856 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.005074/0.3193, allocations: 2.711 MB / 0.9492 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3193, allocations: 9.938 kB / 0.9492 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007463/0.3201, allocations: 275.3 kB / 0.9495 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/0.3237, allocations: 1.972 MB / 0.9514 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/0.3238, allocations: 106.7 kB / 0.9515 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.324, allocations: 140 kB / 0.9517 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002892/0.3269, allocations: 1.822 MB / 0.9534 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.327, allocations: 11.83 kB / 0.9535 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.3271, allocations: 60 kB / 0.9535 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.516e-05/0.3272, allocations: 47.98 kB / 0.9536 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.3294, allocations: 1.115 MB / 0.9546 GB, free: 11.49 MB / 0.7012 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.007768/0.3372, allocations: 5.085 MB / 0.9596 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009649/0.3382, allocations: 452.9 kB / 0.96 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/0.3388, allocations: 310.9 kB / 0.9603 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003791/0.3392, allocations: 116.4 kB / 0.9605 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.3392, allocations: 39.06 kB / 0.9605 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=59): time 2.825e-06/0.3392, allocations: 0 / 0.9605 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of matching and sorting (n=59): time 0.002277/0.3415, allocations: 0.9528 MB / 0.9614 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.3415, allocations: 55.91 kB / 0.9615 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.3436, allocations: 1.535 MB / 0.963 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.251e-05/0.3437, allocations: 41.7 kB / 0.963 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008275/0.3445, allocations: 0.9591 MB / 0.9639 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.3447, allocations: 230 kB / 0.9642 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002948/0.345, allocations: 226.8 kB / 0.9644 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3452, allocations: 349.9 kB / 0.9647 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/0.3459, allocations: 330.4 kB / 0.965 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.3471, allocations: 0.9582 MB / 0.966 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.3488, allocations: 1.028 MB / 0.967 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.3488, allocations: 4 kB / 0.967 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00242/0.3512, allocations: 1.199 MB / 0.9681 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.3512, allocations: 8 kB / 0.9682 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.3512, allocations: 12.88 kB / 0.9682 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.17e-05/0.3513, allocations: 16 kB / 0.9682 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.3523, allocations: 291.5 kB / 0.9685 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.7e-05/0.3523, allocations: 23.92 kB / 0.9685 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.3535, allocations: 143.2 kB / 0.9686 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.942e-05/0.3535, allocations: 48 kB / 0.9687 GB, free: 12.56 MB / 0.7169 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.0007472/0.3543, allocations: 446 kB / 0.9691 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.3546, allocations: 178.9 kB / 0.9693 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.3563, allocations: 0.8488 MB / 0.9701 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.3564, allocations: 11.98 kB / 0.9701 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3564, allocations: 0 / 0.9701 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001366/0.3577, allocations: 0.8018 MB / 0.9709 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/0.3615, allocations: 2.072 MB / 0.9729 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3615, allocations: 0 / 0.9729 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007778/0.3623, allocations: 188 kB / 0.9731 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.3623, allocations: 7.938 kB / 0.9731 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/0.3623, allocations: 23.92 kB / 0.9731 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.3623, allocations: 4 kB / 0.9731 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.3624, allocations: 7.938 kB / 0.9731 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.3648, allocations: 1.321 MB / 0.9744 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006915/0.3655, allocations: 270.6 kB / 0.9747 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.3657, allocations: 19.94 kB / 0.9747 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008236/0.3665, allocations: 63.86 kB / 0.9748 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.3666, allocations: 52.41 kB / 0.9748 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/0.3667, allocations: 31.98 kB / 0.9748 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001446/0.3682, allocations: 1.016 MB / 0.9758 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.3682, allocations: 0 / 0.9758 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001777/0.3699, allocations: 0.6896 MB / 0.9765 GB, free: 4.375 MB / 0.7169 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.001017/0.371, allocations: 0.5888 MB / 0.9771 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001817/0.3728, allocations: 0.785 MB / 0.9778 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3728, allocations: 0 / 0.9778 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007267/0.3735, allocations: 334.6 kB / 0.9782 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003951/0.3775, allocations: 0.9191 MB / 0.9791 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3325/0.7099, allocations: 3.103 MB / 0.9821 GB, free: 141.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009655/0.7109, allocations: 0.8154 MB / 0.9829 GB, free: 141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/0.7114, allocations: 141 kB / 0.983 GB, free: 141 MB / 0.7169 GB Notification: Performance of SimCode: time 8.02e-07/0.7114, allocations: 0.9688 kB / 0.983 GB, free: 141 MB / 0.7169 GB Notification: Performance of Templates: time 0.04611/0.7575, allocations: 32.53 MB / 1.015 GB, free: 125.3 MB / 0.7169 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.324698421172798] Failed to read output from testmodel.py, exit status != 0: 0.7647226899862289 0.773530064 0.457170384 Calling exit ...