Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001695/0.001695, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.002027/0.002027, allocations: 169 kB / 23.02 MB, free: 1.543 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.9438/0.9438, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.001656/0.001656, allocations: 236.3 kB / 260.2 MB, free: 12.8 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.7046/0.7046, allocations: 138.4 MB / 455.2 MB, free: 1.488 MB / 362.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.5551 GB, free: 484 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.606e-05, allocations: 6.25 kB / 0.5551 GB, free: 476 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01106/0.01109, allocations: 13.2 MB / 0.568 GB, free: 3.207 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008288/0.01938, allocations: 5.379 MB / 0.5733 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.02074, allocations: 79.31 kB / 0.5734 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007922/0.02154, allocations: 365.3 kB / 0.5737 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002355/0.02389, allocations: 1.352 MB / 0.575 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.02564, allocations: 1.103 MB / 0.5761 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003359/0.029, allocations: 3.381 MB / 0.5794 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.03012, allocations: 0.8421 MB / 0.5802 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002363/0.03249, allocations: 1.603 MB / 0.5818 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.03362, allocations: 0.81 MB / 0.5826 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.03378, allocations: 100 kB / 0.5827 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006316/0.03441, allocations: 287.5 kB / 0.583 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.03462, allocations: 306.7 kB / 0.5832 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004093/0.03503, allocations: 423 kB / 0.5836 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.03626, allocations: 1.051 MB / 0.5847 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.03627, allocations: 0 / 0.5847 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.03627, allocations: 0 / 0.5847 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.569e-05/0.0363, allocations: 0 / 0.5847 GB, free: 2.109 MB / 0.4948 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.001742/0.03804, allocations: 1.483 MB / 0.5861 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.03809, allocations: 12.75 kB / 0.5861 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.03844, allocations: 208 kB / 0.5863 GB, free: 376 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.03967, allocations: 0.9614 MB / 0.5873 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.03972, allocations: 61.56 kB / 0.5873 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-05/0.03981, allocations: 76 kB / 0.5874 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.04081, allocations: 0.7402 MB / 0.5881 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.04083, allocations: 3.938 kB / 0.5881 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.04088, allocations: 28 kB / 0.5882 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/0.04092, allocations: 20 kB / 0.5882 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.04134, allocations: 255.5 kB / 0.5884 GB, free: 14.11 MB / 0.5105 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.002817/0.04416, allocations: 2.923 MB / 0.5913 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.04451, allocations: 147 kB / 0.5914 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.04461, allocations: 86.08 kB / 0.5915 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.04476, allocations: 27.98 kB / 0.5915 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.04479, allocations: 37.92 kB / 0.5916 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 2.865e-06/0.0448, allocations: 0 / 0.5916 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.0005708/0.04537, allocations: 293 kB / 0.5918 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.0454, allocations: 63.41 kB / 0.5919 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.046, allocations: 0.7414 MB / 0.5926 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.04603, allocations: 37.64 kB / 0.5927 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005671/0.04659, allocations: 0.5612 MB / 0.5932 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/0.04666, allocations: 122.9 kB / 0.5933 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.04677, allocations: 116 kB / 0.5934 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.0469, allocations: 0.5003 MB / 0.5939 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.047, allocations: 65.27 kB / 0.594 GB, free: 8.219 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.04726, allocations: 472.8 kB / 0.5944 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.04759, allocations: 388.4 kB / 0.5948 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.0476, allocations: 0 / 0.5948 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005487/0.04814, allocations: 452.3 kB / 0.5952 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.04817, allocations: 8 kB / 0.5952 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.04818, allocations: 4 kB / 0.5953 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.0482, allocations: 12.67 kB / 0.5953 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.04846, allocations: 119.8 kB / 0.5954 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.04847, allocations: 8 kB / 0.5954 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.04875, allocations: 63.61 kB / 0.5954 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.04878, allocations: 27.98 kB / 0.5955 GB, free: 6.449 MB / 0.5105 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.0001705/0.04896, allocations: 196.3 kB / 0.5957 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.526e-05/0.04905, allocations: 99.38 kB / 0.5958 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.04944, allocations: 302 kB / 0.596 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.04945, allocations: 4 kB / 0.596 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.04945, allocations: 4 kB / 0.5961 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002294/0.04968, allocations: 281.6 kB / 0.5963 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.05073, allocations: 1.04 MB / 0.5973 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.05074, allocations: 4.062 kB / 0.5973 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.05092, allocations: 67.91 kB / 0.5974 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.05092, allocations: 7.984 kB / 0.5974 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.05094, allocations: 12.16 kB / 0.5974 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.05095, allocations: 11.94 kB / 0.5974 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.05095, allocations: 0 / 0.5974 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/0.05144, allocations: 0.5303 MB / 0.598 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.0516, allocations: 131.3 kB / 0.5981 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.05166, allocations: 15.98 kB / 0.5981 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.05186, allocations: 23.92 kB / 0.5981 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.05192, allocations: 27.89 kB / 0.5981 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.05195, allocations: 23.92 kB / 0.5982 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003662/0.05232, allocations: 474.9 kB / 0.5986 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.05232, allocations: 4 kB / 0.5986 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005944/0.05291, allocations: 283.3 kB / 0.5989 GB, free: 2.805 MB / 0.5105 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.0003034/0.05322, allocations: 183 kB / 0.5991 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.05356, allocations: 244.6 kB / 0.5993 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.05357, allocations: 4 kB / 0.5993 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.05369, allocations: 104.9 kB / 0.5994 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.05511, allocations: 0.4888 MB / 0.5999 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.05706, allocations: 1.461 MB / 0.6013 GB, free: 268 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.05719, allocations: 195.1 kB / 0.6015 GB, free: 52 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.2239/0.2811, allocations: 158.3 kB / 0.6016 GB, free: 82.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.2812, allocations: 72.86 kB / 0.6017 GB, free: 82.14 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/0.2812, allocations: 0 / 0.6017 GB, free: 82.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.02167/0.3029, allocations: 17.59 MB / 0.6189 GB, free: 80.24 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.294999579899013]