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.0009121/0.0009121, allocations: 91.67 kB / 20.95 MB, free: 3.301 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.004194/0.004194, allocations: 162 kB / 24.38 MB, free: 8.586 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.964/0.964, allocations: 177.1 MB / 204.8 MB, free: 5.051 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.907/1.907, allocations: 389.6 MB / 0.6356 GB, free: 12.21 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.473e-06/1.473e-06, allocations: 0 / 0.7756 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.708e-05, allocations: 3.062 kB / 0.7756 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01177/0.01179, allocations: 13.2 MB / 0.7885 GB, free: 7.93 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.007074/0.01886, allocations: 5.428 MB / 0.7938 GB, free: 2.539 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000846/0.01971, allocations: 79.31 kB / 0.7938 GB, free: 2.461 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.000628/0.02034, allocations: 365.9 kB / 0.7942 GB, free: 2.102 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.02226, allocations: 1.344 MB / 0.7955 GB, free: 0.7617 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.02372, allocations: 1.073 MB / 0.7965 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002162/0.02588, allocations: 3.348 MB / 0.7998 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009622/0.02685, allocations: 0.8374 MB / 0.8006 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.02819, allocations: 1.573 MB / 0.8022 GB, free: 9.926 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006527/0.02884, allocations: 0.7563 MB / 0.8029 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.587e-05/0.02894, allocations: 96 kB / 0.803 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.02936, allocations: 296.1 kB / 0.8033 GB, free: 8.785 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.02955, allocations: 302.8 kB / 0.8036 GB, free: 8.488 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.02987, allocations: 435.9 kB / 0.804 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0008773/0.03074, allocations: 1.051 MB / 0.805 GB, free: 7.008 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.03075, allocations: 0 / 0.805 GB, free: 7.008 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.72e-07/0.03075, allocations: 4.844 kB / 0.805 GB, free: 7.004 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.03076, allocations: 0 / 0.805 GB, free: 7.004 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.001208/0.03196, allocations: 1.338 MB / 0.8063 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.03199, allocations: 13.28 kB / 0.8063 GB, free: 5.629 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.03222, allocations: 172.6 kB / 0.8065 GB, free: 5.461 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007967/0.03301, allocations: 0.7293 MB / 0.8072 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.03305, allocations: 54.38 kB / 0.8073 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.055e-05/0.03312, allocations: 79.94 kB / 0.8073 GB, free: 4.57 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.03367, allocations: 0.6991 MB / 0.808 GB, free: 3.797 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.03368, allocations: 1.156 kB / 0.808 GB, free: 3.797 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.03372, allocations: 28 kB / 0.808 GB, free: 3.77 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.03375, allocations: 27.94 kB / 0.8081 GB, free: 3.742 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.03399, allocations: 198.9 kB / 0.8083 GB, free: 3.547 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.03574, allocations: 2.153 MB / 0.8104 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.03594, allocations: 174.8 kB / 0.8105 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/0.03601, allocations: 59.61 kB / 0.8106 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.848e-05/0.03609, allocations: 28.67 kB / 0.8106 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.03611, allocations: 47.34 kB / 0.8107 GB, free: 1 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 1.323e-06/0.03611, allocations: 0 / 0.8107 GB, free: 1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31): time 0.0002608/0.03637, allocations: 201.8 kB / 0.8109 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.0364, allocations: 55.41 kB / 0.8109 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/0.03683, allocations: 0.6808 MB / 0.8116 GB, free: 36 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.03685, allocations: 29.7 kB / 0.8116 GB, free: 0 / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.03704, allocations: 417.8 kB / 0.812 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.942e-05/0.0371, allocations: 120.3 kB / 0.8121 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.0372, allocations: 114.2 kB / 0.8122 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.357e-05/0.03727, allocations: 321.9 kB / 0.8125 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.321e-05/0.03737, allocations: 65.48 kB / 0.8126 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.03759, allocations: 402 kB / 0.813 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.03788, allocations: 336.9 kB / 0.8133 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.03788, allocations: 4 kB / 0.8133 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003855/0.03827, allocations: 343.7 kB / 0.8136 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.03828, allocations: 8 kB / 0.8136 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.03829, allocations: 10.42 kB / 0.8136 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.0383, allocations: 8 kB / 0.8137 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.03854, allocations: 123.8 kB / 0.8138 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.03855, allocations: 11.98 kB / 0.8138 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.03875, allocations: 55.62 kB / 0.8138 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.03878, allocations: 30.08 kB / 0.8139 GB, free: 13.49 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.0001269/0.0389, allocations: 140.5 kB / 0.814 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.03897, allocations: 63.88 kB / 0.8141 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.03925, allocations: 254.9 kB / 0.8143 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.03925, allocations: 4.719 kB / 0.8143 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.03926, allocations: 0 / 0.8143 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001415/0.0394, allocations: 230.4 kB / 0.8145 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.04012, allocations: 0.7761 MB / 0.8153 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.04012, allocations: 4 kB / 0.8153 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.0403, allocations: 75.89 kB / 0.8154 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.0403, allocations: 0 / 0.8154 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.04032, allocations: 9.188 kB / 0.8154 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.04032, allocations: 4 kB / 0.8154 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.04032, allocations: 4 kB / 0.8154 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.04065, allocations: 436.9 kB / 0.8158 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.04079, allocations: 107.3 kB / 0.8159 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.04084, allocations: 8 kB / 0.8159 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.04101, allocations: 15.98 kB / 0.8159 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.04106, allocations: 32.42 kB / 0.816 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.04108, allocations: 11.98 kB / 0.816 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002346/0.04132, allocations: 332 kB / 0.8163 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.04132, allocations: 0 / 0.8163 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004115/0.04173, allocations: 287.8 kB / 0.8166 GB, free: 10.62 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.0002287/0.04196, allocations: 166.9 kB / 0.8167 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.04223, allocations: 237.4 kB / 0.8169 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/0.04224, allocations: 8 kB / 0.8169 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.96e-05/0.04234, allocations: 90 kB / 0.817 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009453/0.04328, allocations: 482.6 kB / 0.8175 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.04481, allocations: 1.416 MB / 0.8189 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.04492, allocations: 191.1 kB / 0.8191 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002902/0.04521, allocations: 150 kB / 0.8192 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/0.04575, allocations: 357 kB / 0.8195 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.04575, allocations: 0 / 0.8195 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of Templates: time 0.01864/0.06438, allocations: 17.28 MB / 0.8364 GB, free: 6.652 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.31179828569293]