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.000977/0.000977, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002503, allocations: 453.9 kB / 10.45 MB, free: 244 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.00105/0.00105, allocations: 157.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002458, allocations: 475.6 kB / 11.82 MB, free: 2.344 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.9494/0.9494, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08278/1.032, allocations: 53.65 MB / 243.4 MB, free: 15.52 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.816/1.816, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4578/2.274, allocations: 127.1 MB / 0.7435 GB, free: 4.527 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 1.242e-06/1.242e-06, allocations: 1.094 kB / 0.7448 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.804e-05, allocations: 4.281 kB / 0.7448 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.009873/0.009891, allocations: 13.24 MB / 0.7577 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.008232/0.01812, allocations: 5.963 MB / 0.7636 GB, free: 36 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.01959, allocations: 80.86 kB / 0.7636 GB, free: 15.95 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0006833/0.02028, allocations: 381.1 kB / 0.764 GB, free: 15.58 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.0227, allocations: 1.335 MB / 0.7653 GB, free: 14.25 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.02469, allocations: 1.204 MB / 0.7665 GB, free: 13.05 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.002897/0.02759, allocations: 3.347 MB / 0.7698 GB, free: 9.691 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.0288, allocations: 0.8485 MB / 0.7706 GB, free: 8.836 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.03079, allocations: 1.68 MB / 0.7722 GB, free: 7.168 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007605/0.03155, allocations: 0.7606 MB / 0.773 GB, free: 6.406 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.03166, allocations: 100 kB / 0.7731 GB, free: 6.309 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005653/0.03223, allocations: 295.4 kB / 0.7733 GB, free: 6.02 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.0324, allocations: 244.3 kB / 0.7736 GB, free: 5.781 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0003245/0.03272, allocations: 367.3 kB / 0.7739 GB, free: 5.422 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.03376, allocations: 0.981 MB / 0.7749 GB, free: 4.438 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 1.449e-05/0.03377, allocations: 0 / 0.7749 GB, free: 4.438 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.523e-06/0.03378, allocations: 0.6562 kB / 0.7749 GB, free: 4.438 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 1.972e-05/0.0338, allocations: 7.938 kB / 0.7749 GB, free: 4.43 MB / 0.7449 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.001567/0.03536, allocations: 1.675 MB / 0.7765 GB, free: 2.711 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.0354, allocations: 8.031 kB / 0.7765 GB, free: 2.703 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.03565, allocations: 164.6 kB / 0.7767 GB, free: 2.543 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008545/0.03651, allocations: 0.7406 MB / 0.7774 GB, free: 1.77 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.03654, allocations: 54.38 kB / 0.7775 GB, free: 1.719 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/0.03662, allocations: 76.84 kB / 0.7775 GB, free: 1.645 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.03721, allocations: 0.6944 MB / 0.7782 GB, free: 0.875 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.03723, allocations: 8.641 kB / 0.7782 GB, free: 0.8672 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.03727, allocations: 32 kB / 0.7783 GB, free: 0.8359 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/0.0373, allocations: 17 kB / 0.7783 GB, free: 0.8203 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.03756, allocations: 197.9 kB / 0.7785 GB, free: 0.625 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.0395, allocations: 2.174 MB / 0.7806 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.03974, allocations: 175.6 kB / 0.7808 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.952e-05/0.03981, allocations: 68.28 kB / 0.7808 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-05/0.0399, allocations: 35.95 kB / 0.7809 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.03993, allocations: 35.66 kB / 0.7809 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 2.595e-06/0.03993, allocations: 0 / 0.7809 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31): time 0.000286/0.04022, allocations: 204.2 kB / 0.7811 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.04024, allocations: 55.41 kB / 0.7811 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/0.0407, allocations: 0.6731 MB / 0.7818 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.04072, allocations: 29.7 kB / 0.7818 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.04097, allocations: 412.1 kB / 0.7822 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.04103, allocations: 119 kB / 0.7823 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-05/0.04113, allocations: 114.2 kB / 0.7824 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.0412, allocations: 329.9 kB / 0.7828 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-05/0.0413, allocations: 60.12 kB / 0.7828 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.04151, allocations: 398.1 kB / 0.7832 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.0418, allocations: 358.5 kB / 0.7835 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.04181, allocations: 0 / 0.7835 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003515/0.04216, allocations: 348 kB / 0.7839 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.04217, allocations: 8 kB / 0.7839 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.04218, allocations: 4.688 kB / 0.7839 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.0422, allocations: 8 kB / 0.7839 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.04246, allocations: 136.9 kB / 0.784 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.04247, allocations: 12 kB / 0.784 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.04269, allocations: 64.86 kB / 0.7841 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.04271, allocations: 16 kB / 0.7841 GB, free: 10.53 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.0001393/0.04285, allocations: 158.2 kB / 0.7843 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.04292, allocations: 63.88 kB / 0.7843 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.04323, allocations: 243.9 kB / 0.7846 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.04324, allocations: 8.812 kB / 0.7846 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.04325, allocations: 0 / 0.7846 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001505/0.0434, allocations: 234 kB / 0.7848 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009108/0.04431, allocations: 0.7848 MB / 0.7855 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.04431, allocations: 0 / 0.7855 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.04451, allocations: 77.23 kB / 0.7856 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.04465, allocations: 111.3 kB / 0.7857 GB, free: 8.781 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.04465, allocations: 4.906 kB / 0.7857 GB, free: 8.777 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.04467, allocations: 8 kB / 0.7857 GB, free: 8.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.04467, allocations: 0 / 0.7857 GB, free: 8.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.04467, allocations: 5.062 kB / 0.7857 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.04501, allocations: 430.8 kB / 0.7862 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.04506, allocations: 8 kB / 0.7862 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.04525, allocations: 21.64 kB / 0.7862 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.0453, allocations: 27.89 kB / 0.7862 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.04532, allocations: 15.98 kB / 0.7862 GB, free: 8.242 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002397/0.04556, allocations: 327.8 kB / 0.7865 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.04556, allocations: 1.594 kB / 0.7865 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004954/0.04606, allocations: 283.3 kB / 0.7868 GB, free: 7.648 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.0002754/0.04633, allocations: 162.6 kB / 0.787 GB, free: 7.484 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.0466, allocations: 242.6 kB / 0.7872 GB, free: 7.25 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.658e-05/0.04662, allocations: 15.94 kB / 0.7872 GB, free: 7.234 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.04676, allocations: 120.6 kB / 0.7873 GB, free: 7.113 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.04851, allocations: 3.16 MB / 0.7904 GB, free: 3.387 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/0.0535, allocations: 1.439 MB / 0.7918 GB, free: 1.891 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.05362, allocations: 187.1 kB / 0.792 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005463/0.05417, allocations: 141.1 kB / 0.7921 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/0.05475, allocations: 353 kB / 0.7925 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of SimCode: time 1.402e-06/0.05475, allocations: 0 / 0.7925 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of Templates: time 0.02214/0.07689, allocations: 18.11 MB / 0.8101 GB, free: 15.55 MB / 0.7917 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.137159411795437]