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.001315/0.001315, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001778/0.001778, allocations: 169 kB / 24.06 MB, free: 456 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.9639/0.9639, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.001735/0.001735, allocations: 233.9 kB / 261.3 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.7067/0.7067, allocations: 138.4 MB / 456.3 MB, free: 1.391 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 4.799e-06/4.799e-06, allocations: 0 / 0.5564 GB, free: 252 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.779e-05, allocations: 5.828 kB / 0.5564 GB, free: 248 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0108/0.01082, allocations: 13.02 MB / 0.5691 GB, free: 3.156 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008515/0.01934, allocations: 5.348 MB / 0.5743 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.02095, allocations: 79.31 kB / 0.5744 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008209/0.02177, allocations: 357.3 kB / 0.5747 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.02428, allocations: 1.352 MB / 0.5761 GB, free: 12 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.02612, allocations: 1.111 MB / 0.5771 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003289/0.02941, allocations: 3.382 MB / 0.5804 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.0306, allocations: 0.8304 MB / 0.5812 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.03312, allocations: 1.621 MB / 0.5828 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.03421, allocations: 0.81 MB / 0.5836 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.03438, allocations: 96 kB / 0.5837 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006459/0.03502, allocations: 291.5 kB / 0.584 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.03526, allocations: 302.7 kB / 0.5843 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004556/0.03571, allocations: 427 kB / 0.5847 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.03716, allocations: 1.043 MB / 0.5857 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.03717, allocations: 7.938 kB / 0.5857 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.03717, allocations: 0 / 0.5857 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.394e-05/0.03721, allocations: 0 / 0.5857 GB, free: 2.078 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.001861/0.03907, allocations: 1.491 MB / 0.5872 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.0391, allocations: 12.75 kB / 0.5872 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/0.03948, allocations: 200 kB / 0.5874 GB, free: 344 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.04055, allocations: 0.9529 MB / 0.5883 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.04059, allocations: 54.38 kB / 0.5884 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/0.04067, allocations: 79.94 kB / 0.5884 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.04131, allocations: 0.6971 MB / 0.5891 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.04133, allocations: 0 / 0.5891 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/0.04137, allocations: 35.98 kB / 0.5891 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.04141, allocations: 24 kB / 0.5892 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.04169, allocations: 202.1 kB / 0.5894 GB, free: 14.18 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.002578/0.04426, allocations: 2.938 MB / 0.5922 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.04451, allocations: 142.9 kB / 0.5924 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.318e-05/0.04458, allocations: 71.58 kB / 0.5924 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.04469, allocations: 27.98 kB / 0.5925 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.04471, allocations: 45.91 kB / 0.5925 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 2.155e-06/0.04472, allocations: 0 / 0.5925 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.000412/0.04513, allocations: 277 kB / 0.5928 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.04516, allocations: 55.41 kB / 0.5928 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007699/0.04593, allocations: 0.7253 MB / 0.5935 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.04596, allocations: 37.7 kB / 0.5936 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.04623, allocations: 0.5572 MB / 0.5941 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.233e-05/0.04631, allocations: 119 kB / 0.5942 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.04642, allocations: 131.8 kB / 0.5944 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.04653, allocations: 0.4926 MB / 0.5948 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-05/0.04662, allocations: 61.2 kB / 0.5949 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.04688, allocations: 476.7 kB / 0.5953 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.04718, allocations: 376.4 kB / 0.5957 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.04718, allocations: 4 kB / 0.5957 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004539/0.04763, allocations: 428.8 kB / 0.5961 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.04765, allocations: 8 kB / 0.5961 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.04766, allocations: 4 kB / 0.5961 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.04767, allocations: 8 kB / 0.5961 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.0479, allocations: 119.8 kB / 0.5963 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.04791, allocations: 11.94 kB / 0.5963 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.04815, allocations: 59.61 kB / 0.5963 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.04818, allocations: 20.22 kB / 0.5963 GB, free: 6.594 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.0001824/0.04836, allocations: 196.4 kB / 0.5965 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.04846, allocations: 107.4 kB / 0.5966 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.04881, allocations: 285.3 kB / 0.5969 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.04882, allocations: 4 kB / 0.5969 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.04883, allocations: 8 kB / 0.5969 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000181/0.04901, allocations: 261.4 kB / 0.5972 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009055/0.04991, allocations: 0.8957 MB / 0.598 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.04992, allocations: 0 / 0.598 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.05009, allocations: 71.91 kB / 0.5981 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.05009, allocations: 0 / 0.5981 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.05011, allocations: 15.98 kB / 0.5981 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.05011, allocations: 0 / 0.5981 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.05012, allocations: 4 kB / 0.5981 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.05056, allocations: 0.507 MB / 0.5986 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.05072, allocations: 123.4 kB / 0.5987 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/0.05077, allocations: 12.09 kB / 0.5987 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.05097, allocations: 27.92 kB / 0.5988 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.05102, allocations: 31.89 kB / 0.5988 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.05104, allocations: 15.98 kB / 0.5988 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000281/0.05132, allocations: 442.8 kB / 0.5992 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.01e-07/0.05132, allocations: 0 / 0.5992 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006274/0.05195, allocations: 283.3 kB / 0.5995 GB, free: 3.211 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.0003409/0.05229, allocations: 182.9 kB / 0.5997 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003933/0.05268, allocations: 233.6 kB / 0.5999 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.05269, allocations: 0 / 0.5999 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.05283, allocations: 99.5 kB / 0.6 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.05451, allocations: 0.4928 MB / 0.6005 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.05636, allocations: 1.453 MB / 0.6019 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.05648, allocations: 195.2 kB / 0.6021 GB, free: 492 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003909/0.05687, allocations: 142.3 kB / 0.6022 GB, free: 352 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2444/0.3013, allocations: 432.9 kB / 0.6026 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of SimCode: time 1.143e-06/0.3013, allocations: 0 / 0.6026 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.0215/0.3228, allocations: 17.88 MB / 0.6201 GB, free: 80.12 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.3284916640259326]