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.002051/0.002051, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.002255/0.002255, allocations: 215.2 kB / 23.02 MB, free: 2.961 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 1.706/1.706, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 178] 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 3.418/3.418, allocations: 0.5045 GB / 0.8104 GB, free: 2.824 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003723/0.003723, allocations: 71.89 kB / 1.177 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9787/0.9824, allocations: 180 MB / 1.353 GB, free: 1.648 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1905/1.173, allocations: 131 MB / 1.481 GB, free: 14.13 MB / 1.167 GB Notification: Performance of NFInst.instExpressions: time 0.002054/1.175, allocations: 1.038 MB / 1.482 GB, free: 13.09 MB / 1.167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/1.175, allocations: 0 / 1.482 GB, free: 13.09 MB / 1.167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004544/1.176, allocations: 55.62 kB / 1.482 GB, free: 13.04 MB / 1.167 GB Notification: Performance of NFTyping.typeBindings: time 0.001056/1.177, allocations: 322.7 kB / 1.482 GB, free: 12.72 MB / 1.167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/1.177, allocations: 167.3 kB / 1.482 GB, free: 12.55 MB / 1.167 GB Notification: Performance of NFFlatten.flatten: time 0.0005797/1.178, allocations: 223.3 kB / 1.483 GB, free: 12.34 MB / 1.167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/1.178, allocations: 46.02 kB / 1.483 GB, free: 12.29 MB / 1.167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/1.178, allocations: 55.72 kB / 1.483 GB, free: 12.23 MB / 1.167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/1.178, allocations: 59.69 kB / 1.483 GB, free: 12.18 MB / 1.167 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/1.178, allocations: 12 kB / 1.483 GB, free: 12.16 MB / 1.167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005411/1.179, allocations: 231.5 kB / 1.483 GB, free: 11.94 MB / 1.167 GB Notification: Performance of NFScalarize.scalarize: time 7.61e-05/1.179, allocations: 31.8 kB / 1.483 GB, free: 11.91 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 7.289e-05/1.179, allocations: 47.73 kB / 1.483 GB, free: 11.86 MB / 1.167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007797/1.18, allocations: 287 kB / 1.483 GB, free: 11.58 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.18, allocations: 0 / 1.483 GB, free: 11.58 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.474e-06/1.18, allocations: 0 / 1.483 GB, free: 11.58 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.095e-05/1.18, allocations: 0 / 1.483 GB, free: 11.58 MB / 1.167 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.0009224/1.181, allocations: 397.3 kB / 1.484 GB, free: 11.16 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/1.181, allocations: 12.92 kB / 1.484 GB, free: 11.15 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005408/1.181, allocations: 48.8 kB / 1.484 GB, free: 11.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/1.181, allocations: 163 kB / 1.484 GB, free: 10.92 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/1.181, allocations: 8 kB / 1.484 GB, free: 10.91 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/1.182, allocations: 4 kB / 1.484 GB, free: 10.91 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/1.182, allocations: 115.8 kB / 1.484 GB, free: 10.79 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.182, allocations: 0 / 1.484 GB, free: 10.79 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/1.182, allocations: 4 kB / 1.484 GB, free: 10.79 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.182, allocations: 4 kB / 1.484 GB, free: 10.78 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/1.182, allocations: 91.94 kB / 1.484 GB, free: 10.69 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007755/1.183, allocations: 367.8 kB / 1.485 GB, free: 10.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/1.183, allocations: 86.55 kB / 1.485 GB, free: 10.21 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/1.183, allocations: 36.94 kB / 1.485 GB, free: 10.17 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/1.183, allocations: 0 / 1.485 GB, free: 10.17 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/1.183, allocations: 34.56 kB / 1.485 GB, free: 10.12 MB / 1.167 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/1.183, allocations: 8 kB / 1.485 GB, free: 10.12 MB / 1.167 GB Notification: Performance of matching and sorting (n=7): time 0.0004673/1.184, allocations: 141.5 kB / 1.485 GB, free: 9.973 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/1.184, allocations: 51.41 kB / 1.485 GB, free: 9.91 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/1.184, allocations: 159.8 kB / 1.485 GB, free: 9.746 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/1.184, allocations: 25.7 kB / 1.485 GB, free: 9.715 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.903e-05/1.184, allocations: 119.9 kB / 1.485 GB, free: 9.594 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/1.184, allocations: 23.75 kB / 1.485 GB, free: 9.57 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/1.184, allocations: 29.7 kB / 1.485 GB, free: 9.535 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002975/1.185, allocations: 322.8 kB / 1.486 GB, free: 9.211 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/1.185, allocations: 31.98 kB / 1.486 GB, free: 9.18 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/1.185, allocations: 31.97 kB / 1.486 GB, free: 9.148 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/1.185, allocations: 68.83 kB / 1.486 GB, free: 9.078 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.185, allocations: 0 / 1.486 GB, free: 9.078 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002933/1.185, allocations: 125.5 kB / 1.486 GB, free: 8.949 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.185, allocations: 4 kB / 1.486 GB, free: 8.945 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.185, allocations: 0 / 1.486 GB, free: 8.945 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.185, allocations: 0 / 1.486 GB, free: 8.945 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/1.186, allocations: 23.98 kB / 1.486 GB, free: 8.922 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.186, allocations: 0 / 1.486 GB, free: 8.922 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.526e-05/1.186, allocations: 15.88 kB / 1.486 GB, free: 8.906 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/1.186, allocations: 4 kB / 1.486 GB, free: 8.902 MB / 1.167 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 0.0001223/1.186, allocations: 125.8 kB / 1.486 GB, free: 8.77 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/1.186, allocations: 7.953 kB / 1.486 GB, free: 8.762 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/1.186, allocations: 126.3 kB / 1.486 GB, free: 8.629 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/1.186, allocations: 3.984 kB / 1.486 GB, free: 8.625 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.186, allocations: 0 / 1.486 GB, free: 8.625 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/1.186, allocations: 7.922 kB / 1.486 GB, free: 8.617 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/1.186, allocations: 145.2 kB / 1.486 GB, free: 8.445 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/1.186, allocations: 0 / 1.486 GB, free: 8.445 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/1.187, allocations: 15.98 kB / 1.486 GB, free: 8.43 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/1.187, allocations: 4 kB / 1.486 GB, free: 8.426 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/1.187, allocations: 4 kB / 1.486 GB, free: 8.422 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/1.187, allocations: 0 / 1.486 GB, free: 8.422 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.187, allocations: 3.984 kB / 1.486 GB, free: 8.418 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/1.187, allocations: 216 kB / 1.486 GB, free: 8.191 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/1.187, allocations: 3.953 kB / 1.486 GB, free: 8.188 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/1.187, allocations: 4 kB / 1.486 GB, free: 8.184 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/1.187, allocations: 11.98 kB / 1.486 GB, free: 8.172 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/1.187, allocations: 3.984 kB / 1.486 GB, free: 8.168 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/1.187, allocations: 4 kB / 1.486 GB, free: 8.164 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001163/1.187, allocations: 125.2 kB / 1.487 GB, free: 8.043 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.1e-08/1.187, allocations: 0 / 1.487 GB, free: 8.043 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0002577/1.187, allocations: 31.88 kB / 1.487 GB, free: 8.012 MB / 1.167 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 0.0001686/1.188, allocations: 103.2 kB / 1.487 GB, free: 7.902 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002987/1.188, allocations: 75.95 kB / 1.487 GB, free: 7.828 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.188, allocations: 8 kB / 1.487 GB, free: 7.82 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/1.188, allocations: 35.97 kB / 1.487 GB, free: 7.785 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/1.188, allocations: 23.92 kB / 1.487 GB, free: 7.762 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/1.189, allocations: 261 kB / 1.487 GB, free: 7.48 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/1.189, allocations: 102.3 kB / 1.487 GB, free: 7.363 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 6e-05/1.189, allocations: 4.438 kB / 1.487 GB, free: 7.359 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/1.189, allocations: 15.44 kB / 1.487 GB, free: 7.344 MB / 1.167 GB Notification: Performance of SimCode: time 5.51e-07/1.189, allocations: 0 / 1.487 GB, free: 7.344 MB / 1.167 GB Notification: Performance of Templates: time 0.005717/1.195, allocations: 1.669 MB / 1.489 GB, free: 5.719 MB / 1.167 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.595658271573484]