Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0006575/0.0006575, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008513/0.001509, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007281/0.0007281, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009372/0.001665, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9565/0.9565, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08831/1.045, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.922/1.922, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4783/2.401, allocations: 127.1 MB / 0.7432 GB, free: 4.613 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.7445 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.656e-05, allocations: 6.25 kB / 0.7445 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01508/0.0151, allocations: 13.24 MB / 0.7574 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.02712, allocations: 5.955 MB / 0.7632 GB, free: 144 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002592/0.02971, allocations: 75.38 kB / 0.7633 GB, free: 68 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.03099, allocations: 384 kB / 0.7637 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004322/0.03532, allocations: 1.333 MB / 0.765 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.03782, allocations: 1.215 MB / 0.7662 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.003461/0.04128, allocations: 3.35 MB / 0.7694 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.04282, allocations: 0.8508 MB / 0.7703 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.04509, allocations: 1.703 MB / 0.7719 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007653/0.04585, allocations: 0.7554 MB / 0.7727 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.533e-05/0.04595, allocations: 100 kB / 0.7728 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.0465, allocations: 295.5 kB / 0.773 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.04668, allocations: 251 kB / 0.7733 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003475/0.04703, allocations: 371.3 kB / 0.7736 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.04814, allocations: 0.9732 MB / 0.7746 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.919e-05/0.04815, allocations: 2.969 kB / 0.7746 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.774e-06/0.04816, allocations: 0 / 0.7746 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.207e-05/0.04818, allocations: 0 / 0.7746 GB, free: 4.516 MB / 0.7448 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.001572/0.04975, allocations: 1.68 MB / 0.7762 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.04978, allocations: 8.031 kB / 0.7762 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002534/0.05004, allocations: 170.3 kB / 0.7764 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009148/0.05095, allocations: 0.7352 MB / 0.7771 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.05099, allocations: 55.31 kB / 0.7772 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.05106, allocations: 75.94 kB / 0.7772 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/0.05165, allocations: 0.695 MB / 0.7779 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.05167, allocations: 0.7188 kB / 0.7779 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.0517, allocations: 28 kB / 0.778 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.05174, allocations: 17.09 kB / 0.778 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.052, allocations: 201.9 kB / 0.7782 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.05409, allocations: 2.177 MB / 0.7803 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.05437, allocations: 175.8 kB / 0.7805 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.399e-05/0.05444, allocations: 75.53 kB / 0.7805 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.05454, allocations: 28.77 kB / 0.7806 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.05457, allocations: 38.56 kB / 0.7806 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 2.565e-06/0.05457, allocations: 1.125 kB / 0.7806 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31): time 0.0003056/0.05488, allocations: 202 kB / 0.7808 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.05491, allocations: 55.41 kB / 0.7808 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004519/0.05536, allocations: 0.6779 MB / 0.7815 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.05539, allocations: 29.7 kB / 0.7815 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.05558, allocations: 409.8 kB / 0.7819 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.05564, allocations: 123.5 kB / 0.782 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.05574, allocations: 106.9 kB / 0.7821 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003487/0.05609, allocations: 333.9 kB / 0.7825 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.801e-05/0.05619, allocations: 64.92 kB / 0.7825 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.05641, allocations: 394.1 kB / 0.7829 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.05669, allocations: 334.1 kB / 0.7832 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.0567, allocations: 4 kB / 0.7832 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003757/0.05707, allocations: 343.4 kB / 0.7835 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.05709, allocations: 8 kB / 0.7836 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.0571, allocations: 4 kB / 0.7836 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.05711, allocations: 8.844 kB / 0.7836 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.05739, allocations: 131.8 kB / 0.7837 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.05739, allocations: 13.59 kB / 0.7837 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.05763, allocations: 59.61 kB / 0.7838 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.05766, allocations: 20 kB / 0.7838 GB, free: 10.64 MB / 0.7605 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.0001595/0.05782, allocations: 153.5 kB / 0.7839 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.05788, allocations: 59.88 kB / 0.784 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.05819, allocations: 253.4 kB / 0.7842 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.0582, allocations: 4 kB / 0.7842 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.0582, allocations: 0 / 0.7842 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001494/0.05835, allocations: 238.5 kB / 0.7845 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008246/0.05918, allocations: 0.7758 MB / 0.7852 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.05918, allocations: 7.984 kB / 0.7852 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.05939, allocations: 81.2 kB / 0.7853 GB, free: 8.992 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.05954, allocations: 111.3 kB / 0.7854 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.05954, allocations: 0.6562 kB / 0.7854 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.05956, allocations: 8 kB / 0.7854 GB, free: 8.875 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.05956, allocations: 4.875 kB / 0.7854 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.05956, allocations: 0 / 0.7854 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.05992, allocations: 432.3 kB / 0.7858 GB, free: 8.418 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.05998, allocations: 8 kB / 0.7858 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.06017, allocations: 16.73 kB / 0.7859 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.06021, allocations: 32.64 kB / 0.7859 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.06024, allocations: 20.05 kB / 0.7859 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002423/0.06048, allocations: 328.3 kB / 0.7862 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.06048, allocations: 4 kB / 0.7862 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005645/0.06104, allocations: 280.9 kB / 0.7865 GB, free: 7.75 MB / 0.7605 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.0002769/0.06132, allocations: 167.4 kB / 0.7866 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.06161, allocations: 236.1 kB / 0.7869 GB, free: 7.352 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/0.06163, allocations: 16.84 kB / 0.7869 GB, free: 7.336 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.449e-05/0.06172, allocations: 89.33 kB / 0.787 GB, free: 7.246 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.06276, allocations: 0.551 MB / 0.7875 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005315/0.06808, allocations: 1.425 MB / 0.7889 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.06848, allocations: 187.1 kB / 0.7891 GB, free: 5.035 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005136/0.069, allocations: 140.4 kB / 0.7892 GB, free: 4.914 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006022/0.0696, allocations: 364.9 kB / 0.7896 GB, free: 4.551 MB / 0.7605 GB Notification: Performance of SimCode: time 1.663e-06/0.0696, allocations: 0 / 0.7896 GB, free: 4.551 MB / 0.7605 GB Notification: Performance of Templates: time 0.02248/0.09208, allocations: 18.14 MB / 0.8073 GB, free: 2.859 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.244028374552727]