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.0009421/0.0009421, allocations: 79.69 kB / 21.74 MB, free: 2.508 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.001003/0.001003, allocations: 175.7 kB / 25.18 MB, free: 8.922 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.9183/0.9183, allocations: 177.1 MB / 205.6 MB, free: 5.355 MB / 186.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.834/1.834, allocations: 389.6 MB / 0.6364 GB, free: 12.23 MB / 0.6042 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.333e-06/1.333e-06, allocations: 0 / 0.7755 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.405e-05, allocations: 3.078 kB / 0.7755 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01425/0.01428, allocations: 13.17 MB / 0.7884 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007807/0.02208, allocations: 5.441 MB / 0.7937 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.02344, allocations: 79.31 kB / 0.7938 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007868/0.02422, allocations: 365.3 kB / 0.7942 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.02656, allocations: 1.339 MB / 0.7955 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.0282, allocations: 1.074 MB / 0.7965 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.003175/0.03137, allocations: 3.348 MB / 0.7998 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.03261, allocations: 0.8344 MB / 0.8006 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.03447, allocations: 1.573 MB / 0.8021 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007235/0.0352, allocations: 0.7602 MB / 0.8029 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.03531, allocations: 99.94 kB / 0.803 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005486/0.03586, allocations: 299.5 kB / 0.8033 GB, free: 9.648 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.03604, allocations: 299.8 kB / 0.8035 GB, free: 9.355 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.03639, allocations: 431 kB / 0.8039 GB, free: 8.934 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.03742, allocations: 1.047 MB / 0.805 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.03743, allocations: 1.031 kB / 0.805 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.82e-07/0.03743, allocations: 0 / 0.805 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.03744, allocations: 0.9375 kB / 0.805 GB, free: 7.883 MB / 0.7605 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.001335/0.03877, allocations: 1.352 MB / 0.8063 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.03882, allocations: 14.12 kB / 0.8063 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.03908, allocations: 164.6 kB / 0.8065 GB, free: 6.332 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008635/0.03994, allocations: 0.7327 MB / 0.8072 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.03998, allocations: 55.44 kB / 0.8072 GB, free: 5.516 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.618e-05/0.04005, allocations: 79.94 kB / 0.8073 GB, free: 5.438 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006486/0.0407, allocations: 0.6993 MB / 0.808 GB, free: 4.664 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.04072, allocations: 0 / 0.808 GB, free: 4.664 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.04076, allocations: 32 kB / 0.808 GB, free: 4.633 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/0.04079, allocations: 20.94 kB / 0.808 GB, free: 4.613 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.04103, allocations: 197.7 kB / 0.8082 GB, free: 4.418 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.04301, allocations: 2.154 MB / 0.8103 GB, free: 2.195 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.04324, allocations: 175.4 kB / 0.8105 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.518e-05/0.0433, allocations: 68.58 kB / 0.8106 GB, free: 1.945 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.255e-05/0.04339, allocations: 27.98 kB / 0.8106 GB, free: 1.918 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.04342, allocations: 39.62 kB / 0.8106 GB, free: 1.871 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.04342, allocations: 0 / 0.8106 GB, free: 1.871 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31): time 0.0002782/0.0437, allocations: 200.2 kB / 0.8108 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.04372, allocations: 60.53 kB / 0.8109 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.04416, allocations: 0.6769 MB / 0.8115 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.04419, allocations: 29.7 kB / 0.8116 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.04436, allocations: 414.7 kB / 0.812 GB, free: 472 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.04441, allocations: 119 kB / 0.8121 GB, free: 352 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/0.04451, allocations: 115.1 kB / 0.8122 GB, free: 232 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.04459, allocations: 325.9 kB / 0.8125 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-05/0.04468, allocations: 64.11 kB / 0.8126 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.04513, allocations: 395.3 kB / 0.8129 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.04541, allocations: 331.9 kB / 0.8133 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.04542, allocations: 4 kB / 0.8133 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003531/0.04577, allocations: 352.8 kB / 0.8136 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.04578, allocations: 8 kB / 0.8136 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.04579, allocations: 4 kB / 0.8136 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.04581, allocations: 8.625 kB / 0.8136 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.04604, allocations: 125.2 kB / 0.8137 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.04605, allocations: 8.062 kB / 0.8137 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.04625, allocations: 64.45 kB / 0.8138 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.04628, allocations: 24 kB / 0.8138 GB, free: 14.37 MB / 0.7761 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.000138/0.04642, allocations: 152.9 kB / 0.814 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.04648, allocations: 68.83 kB / 0.814 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.04677, allocations: 245.5 kB / 0.8143 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.04678, allocations: 5.062 kB / 0.8143 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.04678, allocations: 0 / 0.8143 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001433/0.04692, allocations: 232.7 kB / 0.8145 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/0.04768, allocations: 0.7722 MB / 0.8153 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.04768, allocations: 4.656 kB / 0.8153 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.04787, allocations: 80.59 kB / 0.8153 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.04787, allocations: 4 kB / 0.8153 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.04789, allocations: 7.438 kB / 0.8153 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.04789, allocations: 4 kB / 0.8153 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.0479, allocations: 11.92 kB / 0.8154 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.04823, allocations: 430.4 kB / 0.8158 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.04837, allocations: 107.3 kB / 0.8159 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.04842, allocations: 8 kB / 0.8159 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.0486, allocations: 15.98 kB / 0.8159 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.04864, allocations: 36.42 kB / 0.8159 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.04866, allocations: 13.08 kB / 0.8159 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002268/0.04889, allocations: 331.3 kB / 0.8163 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.04889, allocations: 0 / 0.8163 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004591/0.04935, allocations: 283.9 kB / 0.8165 GB, free: 11.48 MB / 0.7761 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.0002365/0.04959, allocations: 155.4 kB / 0.8167 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.04984, allocations: 236.8 kB / 0.8169 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/0.04986, allocations: 8.594 kB / 0.8169 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.865e-05/0.04995, allocations: 82.14 kB / 0.817 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009484/0.0509, allocations: 488.8 kB / 0.8175 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.05252, allocations: 1.461 MB / 0.8189 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.05279, allocations: 428.6 kB / 0.8193 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006339/0.05343, allocations: 365 kB / 0.8196 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of SimCode: time 1.012e-06/0.05343, allocations: 0 / 0.8196 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of Templates: time 0.01472/0.06815, allocations: 14.5 MB / 0.8338 GB, free: 9.859 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 > Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.305400012061]