Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.000947/0.000947, allocations: 83.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.0009843/0.0009843, allocations: 172.8 kB / 25.18 MB, free: 8.848 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.9293/0.9293, allocations: 177.2 MB / 205.6 MB, free: 4.371 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.88/1.88, allocations: 389.6 MB / 0.6364 GB, free: 13.29 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.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.7756 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.322e-05, allocations: 13.56 kB / 0.7756 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.4909/0.4909, allocations: 144.3 MB / 0.9165 GB, free: 2.504 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.4921, allocations: 1.171 MB / 0.9176 GB, free: 1.336 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.706e-05/0.4922, allocations: 4 kB / 0.9176 GB, free: 1.332 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.4925, allocations: 47.62 kB / 0.9177 GB, free: 1.285 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000641/0.4931, allocations: 315 kB / 0.918 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.4934, allocations: 171.2 kB / 0.9182 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003644/0.4938, allocations: 223.2 kB / 0.9184 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.4939, allocations: 44.78 kB / 0.9184 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.494, allocations: 115.8 kB / 0.9185 GB, free: 456 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.152e-05/0.4941, allocations: 51.81 kB / 0.9186 GB, free: 404 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.4941, allocations: 8 kB / 0.9186 GB, free: 396 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.4943, allocations: 127.8 kB / 0.9187 GB, free: 268 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.4944, allocations: 31.84 kB / 0.9187 GB, free: 236 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.4944, allocations: 35.92 kB / 0.9188 GB, free: 200 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.4947, allocations: 207.6 kB / 0.919 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4947, allocations: 0 / 0.919 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4947, allocations: 0 / 0.919 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.4947, allocations: 0 / 0.919 GB, free: 15.99 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000393/0.4951, allocations: 381.6 kB / 0.9193 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.4951, allocations: 12.03 kB / 0.9193 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.4954, allocations: 56.77 kB / 0.9194 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.4955, allocations: 133.8 kB / 0.9195 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.4955, allocations: 11.94 kB / 0.9195 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.4955, allocations: 8 kB / 0.9195 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.4957, allocations: 102.3 kB / 0.9196 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.4957, allocations: 4 kB / 0.9196 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.4957, allocations: 4 kB / 0.9196 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4957, allocations: 4 kB / 0.9196 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.002e-05/0.4957, allocations: 27.92 kB / 0.9197 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.4961, allocations: 263.8 kB / 0.9199 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.342e-05/0.4961, allocations: 39.31 kB / 0.92 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.4962, allocations: 12.86 kB / 0.92 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.4962, allocations: 3.938 kB / 0.92 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.4962, allocations: 42.56 kB / 0.92 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.4962, allocations: 0 / 0.92 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001199/0.4963, allocations: 65.59 kB / 0.9201 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.4963, allocations: 55.41 kB / 0.9201 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.4964, allocations: 136.5 kB / 0.9203 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.4964, allocations: 29.7 kB / 0.9203 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.4965, allocations: 115.9 kB / 0.9204 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.4965, allocations: 31.73 kB / 0.9204 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.4965, allocations: 17.72 kB / 0.9205 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.4966, allocations: 322.8 kB / 0.9208 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.4966, allocations: 4 kB / 0.9208 GB, free: 14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.42e-05/0.4966, allocations: 15.98 kB / 0.9208 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.4967, allocations: 28.77 kB / 0.9208 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.4967, allocations: 4.875 kB / 0.9208 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.077e-05/0.4967, allocations: 53.69 kB / 0.9209 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.4967, allocations: 7.938 kB / 0.9209 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4967, allocations: 7.984 kB / 0.9209 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.4968, allocations: 0 / 0.9209 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.167e-05/0.4968, allocations: 12 kB / 0.9209 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.4968, allocations: 0 / 0.9209 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.4969, allocations: 11.98 kB / 0.9209 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.4969, allocations: 5.312 kB / 0.9209 GB, free: 13.85 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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 5.62e-05/0.4969, allocations: 120.5 kB / 0.921 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.4969, allocations: 4 kB / 0.921 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.497, allocations: 78.41 kB / 0.9211 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.497, allocations: 0 / 0.9211 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.497, allocations: 0 / 0.9211 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4971, allocations: 0 / 0.9211 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.4972, allocations: 97.84 kB / 0.9212 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4972, allocations: 0.75 kB / 0.9212 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.4972, allocations: 15.98 kB / 0.9212 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4972, allocations: 11.88 kB / 0.9212 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.4972, allocations: 0 / 0.9212 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.4972, allocations: 4.625 kB / 0.9212 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4972, allocations: 0.625 kB / 0.9212 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.463e-05/0.4973, allocations: 148.2 kB / 0.9214 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.4973, allocations: 15.84 kB / 0.9214 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.4973, allocations: 4 kB / 0.9214 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.044e-05/0.4974, allocations: 1 kB / 0.9214 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.4974, allocations: 11.98 kB / 0.9214 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.4974, allocations: 0 / 0.9214 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.42e-05/0.4974, allocations: 30.89 kB / 0.9214 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.4974, allocations: 4 kB / 0.9214 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000128/0.4975, allocations: 27.94 kB / 0.9215 GB, free: 13.23 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 8.608e-05/0.4976, allocations: 84.34 kB / 0.9215 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.537e-05/0.4977, allocations: 28.84 kB / 0.9216 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4977, allocations: 0 / 0.9216 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.489e-05/0.4977, allocations: 25.48 kB / 0.9216 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.4979, allocations: 40.41 kB / 0.9216 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.4985, allocations: 284.5 kB / 0.9219 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.335e-05/0.4985, allocations: 94.28 kB / 0.922 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.782e-05/0.4986, allocations: 71.3 kB / 0.9221 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of SimCode: time 6.61e-07/0.4986, allocations: 0 / 0.9221 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of Templates: time 0.002334/0.501, allocations: 1.531 MB / 0.9236 GB, free: 11.06 MB / 0.8386 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.981180099770427]