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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 116.8 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 198 kB / 20.08 MB, free: 2.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002288/0.002288, allocations: 279.3 kB / 303.6 MB, free: 3.688 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9986/0.9986, allocations: 180.9 MB / 0.5268 GB, free: 2.652 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002623/0.002623, allocations: 99.84 kB / 0.7259 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4968, allocations: 94.16 MB / 0.8179 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07957/0.5764, allocations: 77.71 MB / 0.8938 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02827/0.6046, allocations: 18.91 MB / 0.9122 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003886/0.6085, allocations: 108.8 kB / 0.9123 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003524/0.612, allocations: 1.301 MB / 0.9136 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.6222, allocations: 3.813 MB / 0.9173 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005239/0.6275, allocations: 2.107 MB / 0.9194 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009502/0.637, allocations: 6.679 MB / 0.9259 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002711/0.6397, allocations: 1.704 MB / 0.9276 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005335/0.645, allocations: 2.378 MB / 0.9299 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003072/0.6481, allocations: 1.859 MB / 0.9317 GB, free: 12.23 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003641/0.6485, allocations: 196 kB / 0.9319 GB, free: 12.04 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004153/0.6526, allocations: 1.673 MB / 0.9335 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006347/0.6532, allocations: 0.564 MB / 0.9341 GB, free: 9.797 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001598/0.6548, allocations: 1.252 MB / 0.9353 GB, free: 8.539 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005823/0.6607, allocations: 3.741 MB / 0.939 GB, free: 4.789 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.6607, allocations: 8 kB / 0.939 GB, free: 4.781 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.522e-06/0.6607, allocations: 0 / 0.939 GB, free: 4.781 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.666e-05/0.6607, allocations: 0 / 0.939 GB, free: 4.781 MB / 0.67 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.005244/0.666, allocations: 2.786 MB / 0.9417 GB, free: 1.926 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.666, allocations: 16.03 kB / 0.9417 GB, free: 1.91 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008022/0.6668, allocations: 275.3 kB / 0.942 GB, free: 1.641 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.6702, allocations: 2.04 MB / 0.944 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.839e-05/0.6703, allocations: 102.7 kB / 0.9441 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.6705, allocations: 140 kB / 0.9442 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.6733, allocations: 1.524 MB / 0.9457 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.6733, allocations: 0 / 0.9457 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.6734, allocations: 60 kB / 0.9457 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/0.6735, allocations: 43.92 kB / 0.9458 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.6758, allocations: 1.119 MB / 0.9469 GB, free: 12.48 MB / 0.6856 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.009109/0.6849, allocations: 7.632 MB / 0.9543 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009982/0.6859, allocations: 452.6 kB / 0.9548 GB, free: 3.824 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006426/0.6865, allocations: 310.2 kB / 0.955 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.6875, allocations: 1.148 MB / 0.9562 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.6876, allocations: 39.12 kB / 0.9562 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=59): time 2.264e-06/0.6876, allocations: 4 kB / 0.9562 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of matching and sorting (n=59): time 0.002308/0.6899, allocations: 0.9701 MB / 0.9572 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.6899, allocations: 59.97 kB / 0.9572 GB, free: 1.016 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/0.6923, allocations: 1.791 MB / 0.959 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.455e-05/0.6924, allocations: 37.7 kB / 0.959 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008372/0.6932, allocations: 0.9605 MB / 0.9599 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.6934, allocations: 226.1 kB / 0.9602 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/0.6937, allocations: 226.8 kB / 0.9604 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.6939, allocations: 353.9 kB / 0.9607 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007113/0.6946, allocations: 326.4 kB / 0.961 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.6957, allocations: 0.6899 MB / 0.9617 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.6974, allocations: 1.012 MB / 0.9627 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.6974, allocations: 7.938 kB / 0.9627 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0024/0.6998, allocations: 1.219 MB / 0.9639 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.6998, allocations: 12 kB / 0.9639 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.6999, allocations: 8 kB / 0.9639 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.6999, allocations: 16 kB / 0.9639 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.7009, allocations: 288.2 kB / 0.9642 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.7009, allocations: 23.92 kB / 0.9642 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.7021, allocations: 170.9 kB / 0.9644 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/0.7022, allocations: 48 kB / 0.9644 GB, free: 9.277 MB / 0.7012 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.0007058/0.7029, allocations: 445.3 kB / 0.9648 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/0.7032, allocations: 206.7 kB / 0.965 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.705, allocations: 0.8677 MB / 0.9659 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.705, allocations: 11.98 kB / 0.9659 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.705, allocations: 0 / 0.9659 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001407/0.7064, allocations: 0.7956 MB / 0.9667 GB, free: 6.906 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004046/0.7105, allocations: 2.443 MB / 0.9691 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.7105, allocations: 4.188 kB / 0.9691 GB, free: 4.363 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007934/0.7113, allocations: 179.8 kB / 0.9692 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.7113, allocations: 7.938 kB / 0.9692 GB, free: 4.18 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/0.7113, allocations: 23.98 kB / 0.9693 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.7113, allocations: 4 kB / 0.9693 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7113, allocations: 0 / 0.9693 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.7139, allocations: 1.353 MB / 0.9706 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006482/0.7145, allocations: 379.5 kB / 0.971 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.7147, allocations: 12 kB / 0.971 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009651/0.7157, allocations: 67.91 kB / 0.971 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.7158, allocations: 48.5 kB / 0.9711 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-05/0.7159, allocations: 43.91 kB / 0.9711 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001806/0.7177, allocations: 1.239 MB / 0.9723 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.7177, allocations: 3.938 kB / 0.9723 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001708/0.7194, allocations: 0.6626 MB / 0.973 GB, free: 276 kB / 0.7012 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.001196/0.7206, allocations: 0.6141 MB / 0.9736 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.7223, allocations: 0.7802 MB / 0.9743 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.7223, allocations: 1.188 kB / 0.9743 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007379/0.7231, allocations: 339.4 kB / 0.9747 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004896/0.728, allocations: 1.198 MB / 0.9758 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004943/0.7329, allocations: 3.159 MB / 0.9789 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.734, allocations: 1.384 MB / 0.9803 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/0.7344, allocations: 155.4 kB / 0.9804 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of SimCode: time 8.42e-07/0.7344, allocations: 0 / 0.9804 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of Templates: time 0.05235/0.7868, allocations: 35.28 MB / 1.015 GB, free: 5.637 MB / 0.7481 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.811250895028934] Failed to read output from testmodel.py, exit status != 0: 0.7945516011677682 0.8069145050000001 0.143426049 Calling exit ...