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.001353/0.001353, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001472/0.001472, allocations: 161 kB / 24.16 MB, free: 336 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.8786/0.8786, allocations: 177.2 MB / 204.6 MB, free: 5.465 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.863/1.863, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.422e-06/1.422e-06, allocations: 0 / 0.7752 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.397e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.009737/0.009751, allocations: 13.18 MB / 0.7881 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006415/0.01617, allocations: 5.458 MB / 0.7934 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000633/0.0168, allocations: 79.31 kB / 0.7935 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000612/0.01741, allocations: 373.2 kB / 0.7938 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.01906, allocations: 1.346 MB / 0.7952 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.02037, allocations: 1.083 MB / 0.7962 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002141/0.02251, allocations: 3.349 MB / 0.7995 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009349/0.02344, allocations: 0.8427 MB / 0.8003 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.02475, allocations: 1.565 MB / 0.8018 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006479/0.02539, allocations: 0.757 MB / 0.8026 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.523e-05/0.02549, allocations: 96 kB / 0.8027 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003945/0.02588, allocations: 303.5 kB / 0.803 GB, free: 8.992 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.02606, allocations: 303.6 kB / 0.8032 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.02637, allocations: 431 kB / 0.8037 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0008595/0.02723, allocations: 1.047 MB / 0.8047 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.02723, allocations: 1.062 kB / 0.8047 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.082e-06/0.02724, allocations: 0 / 0.8047 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.02724, allocations: 1.031 kB / 0.8047 GB, free: 7.223 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.001188/0.02843, allocations: 1.348 MB / 0.806 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.02846, allocations: 14.34 kB / 0.806 GB, free: 5.832 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.02868, allocations: 160.6 kB / 0.8062 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00078/0.02946, allocations: 0.7327 MB / 0.8069 GB, free: 4.914 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.02949, allocations: 50.38 kB / 0.8069 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.02956, allocations: 80.84 kB / 0.807 GB, free: 4.785 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.03009, allocations: 0.6953 MB / 0.8077 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.03011, allocations: 0 / 0.8077 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.03015, allocations: 39.92 kB / 0.8077 GB, free: 3.977 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.03017, allocations: 20.97 kB / 0.8077 GB, free: 3.957 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.03041, allocations: 194.1 kB / 0.8079 GB, free: 3.766 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.03212, allocations: 2.165 MB / 0.81 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.03233, allocations: 169 kB / 0.8102 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.749e-05/0.0324, allocations: 63.61 kB / 0.8103 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.204e-05/0.03248, allocations: 28.67 kB / 0.8103 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.0325, allocations: 39.8 kB / 0.8103 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 1.293e-06/0.0325, allocations: 0 / 0.8103 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31): time 0.0002553/0.03275, allocations: 200.1 kB / 0.8105 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.03278, allocations: 59.41 kB / 0.8106 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.03321, allocations: 0.6819 MB / 0.8112 GB, free: 252 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.03324, allocations: 29.7 kB / 0.8113 GB, free: 216 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.03342, allocations: 413.8 kB / 0.8117 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.03348, allocations: 120.5 kB / 0.8118 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.594e-05/0.03357, allocations: 110.2 kB / 0.8119 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.03365, allocations: 329.9 kB / 0.8122 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.03374, allocations: 60.12 kB / 0.8123 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.03395, allocations: 402.7 kB / 0.8126 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.03422, allocations: 331.8 kB / 0.813 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.03423, allocations: 8.719 kB / 0.813 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003399/0.03457, allocations: 352.2 kB / 0.8133 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.03458, allocations: 8.562 kB / 0.8133 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.03459, allocations: 4 kB / 0.8133 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.0346, allocations: 8.625 kB / 0.8133 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.03484, allocations: 121.2 kB / 0.8134 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.03485, allocations: 15.92 kB / 0.8135 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.03504, allocations: 56.47 kB / 0.8135 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.03507, allocations: 23.98 kB / 0.8135 GB, free: 13.7 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.0001362/0.0352, allocations: 145 kB / 0.8137 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.03527, allocations: 68.77 kB / 0.8137 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.03554, allocations: 240.8 kB / 0.814 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.03555, allocations: 12.59 kB / 0.814 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.03555, allocations: 1.094 kB / 0.814 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001419/0.03569, allocations: 228.8 kB / 0.8142 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007183/0.03641, allocations: 0.7759 MB / 0.815 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.03641, allocations: 4 kB / 0.815 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.0366, allocations: 77.11 kB / 0.815 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.0366, allocations: 0 / 0.815 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.03661, allocations: 8 kB / 0.815 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.03662, allocations: 5.281 kB / 0.815 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.03662, allocations: 4 kB / 0.815 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.03694, allocations: 435.2 kB / 0.8155 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.03708, allocations: 107.3 kB / 0.8156 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.03713, allocations: 12.69 kB / 0.8156 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.0373, allocations: 21.34 kB / 0.8156 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.03734, allocations: 27.89 kB / 0.8156 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.03736, allocations: 15.98 kB / 0.8156 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002259/0.03759, allocations: 327.3 kB / 0.816 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.03759, allocations: 1.062 kB / 0.816 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004038/0.03799, allocations: 287.3 kB / 0.8162 GB, free: 10.83 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.0002162/0.03821, allocations: 159.6 kB / 0.8164 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002522/0.03846, allocations: 233.7 kB / 0.8166 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.03847, allocations: 8 kB / 0.8166 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.279e-05/0.03856, allocations: 86.22 kB / 0.8167 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009248/0.03949, allocations: 480.5 kB / 0.8172 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.04097, allocations: 1.422 MB / 0.8185 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.04109, allocations: 183.1 kB / 0.8187 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002808/0.04137, allocations: 146.6 kB / 0.8189 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/0.04191, allocations: 361 kB / 0.8192 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.04191, allocations: 0 / 0.8192 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of Templates: time 0.01869/0.0606, allocations: 17.27 MB / 0.8361 GB, free: 6.91 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 & (cd run_cvode && ../Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_gbode.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_ida.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.113807270303369]