Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.369/1.369, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009373/0.0009374, allocations: 172.7 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 0.5786 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007437/0.0007438, allocations: 95.7 kB / 0.6833 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004267, allocations: 8.125 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2099, allocations: 106.3 MB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1349/0.3448, allocations: 144.8 MB / 1.043 GB, free: 14.09 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.3463, allocations: 1.129 MB / 1.044 GB, free: 12.96 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.3465, allocations: 8 kB / 1.044 GB, free: 12.95 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.3468, allocations: 47.72 kB / 1.044 GB, free: 12.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007476/0.3476, allocations: 282.9 kB / 1.044 GB, free: 12.63 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.3479, allocations: 151.5 kB / 1.044 GB, free: 12.48 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004347/0.3484, allocations: 227.3 kB / 1.045 GB, free: 12.26 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3485, allocations: 49.09 kB / 1.045 GB, free: 12.21 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.492e-05/0.3486, allocations: 43.78 kB / 1.045 GB, free: 12.16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.138e-05/0.3487, allocations: 51.7 kB / 1.045 GB, free: 12.11 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3487, allocations: 4 kB / 1.045 GB, free: 12.11 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005918/0.3493, allocations: 415.1 kB / 1.045 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.3494, allocations: 19.86 kB / 1.045 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.3495, allocations: 77.31 kB / 1.045 GB, free: 11.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.3498, allocations: 207.9 kB / 1.046 GB, free: 11.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3498, allocations: 0 / 1.046 GB, free: 11.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3498, allocations: 0 / 1.046 GB, free: 11.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.3498, allocations: 0 / 1.046 GB, free: 11.4 MB / 0.698 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.000608/0.3504, allocations: 443 kB / 1.046 GB, free: 10.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3504, allocations: 8.031 kB / 1.046 GB, free: 10.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003274/0.3508, allocations: 40.72 kB / 1.046 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.351, allocations: 213.8 kB / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3511, allocations: 19.88 kB / 1.046 GB, free: 10.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.3511, allocations: 8 kB / 1.046 GB, free: 10.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.3514, allocations: 118.3 kB / 1.046 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3514, allocations: 4 kB / 1.046 GB, free: 10.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3514, allocations: 4 kB / 1.046 GB, free: 10.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3514, allocations: 4 kB / 1.046 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.3517, allocations: 99.94 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006843/0.3524, allocations: 468 kB / 1.047 GB, free: 9.859 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.3526, allocations: 94.55 kB / 1.047 GB, free: 9.758 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.3527, allocations: 44.94 kB / 1.047 GB, free: 9.711 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3528, allocations: 3.938 kB / 1.047 GB, free: 9.707 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.3528, allocations: 30.56 kB / 1.047 GB, free: 9.668 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3528, allocations: 0 / 1.047 GB, free: 9.668 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004479/0.3533, allocations: 169.4 kB / 1.047 GB, free: 9.496 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.3533, allocations: 51.41 kB / 1.047 GB, free: 9.434 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.3535, allocations: 183.5 kB / 1.047 GB, free: 9.246 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3535, allocations: 33.7 kB / 1.047 GB, free: 9.207 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.3536, allocations: 119.9 kB / 1.048 GB, free: 9.086 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.3536, allocations: 15.72 kB / 1.048 GB, free: 9.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.3536, allocations: 0 / 1.048 GB, free: 9.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.3537, allocations: 326.8 kB / 1.048 GB, free: 8.742 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.3538, allocations: 39.97 kB / 1.048 GB, free: 8.703 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.354, allocations: 35.98 kB / 1.048 GB, free: 8.668 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.3542, allocations: 88.81 kB / 1.048 GB, free: 8.578 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3542, allocations: 0 / 1.048 GB, free: 8.578 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00028/0.3545, allocations: 129.5 kB / 1.048 GB, free: 8.445 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3545, allocations: 8 kB / 1.048 GB, free: 8.438 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3545, allocations: 0 / 1.048 GB, free: 8.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3545, allocations: 0 / 1.048 GB, free: 8.438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3547, allocations: 19.98 kB / 1.048 GB, free: 8.418 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3547, allocations: 4 kB / 1.048 GB, free: 8.414 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.3548, allocations: 23.83 kB / 1.048 GB, free: 8.391 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3548, allocations: 0 / 1.048 GB, free: 8.391 MB / 0.698 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 8.881e-05/0.3549, allocations: 129.7 kB / 1.048 GB, free: 8.254 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.355, allocations: 11.81 kB / 1.048 GB, free: 8.242 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.3553, allocations: 143 kB / 1.049 GB, free: 8.098 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3553, allocations: 0 / 1.049 GB, free: 8.098 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3553, allocations: 0 / 1.049 GB, free: 8.098 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3553, allocations: 0 / 1.049 GB, free: 8.098 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.3556, allocations: 225.5 kB / 1.049 GB, free: 7.828 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3556, allocations: 4 kB / 1.049 GB, free: 7.824 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.3557, allocations: 15.98 kB / 1.049 GB, free: 7.809 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3557, allocations: 4 kB / 1.049 GB, free: 7.805 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3557, allocations: 4 kB / 1.049 GB, free: 7.801 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3557, allocations: 3.984 kB / 1.049 GB, free: 7.797 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3557, allocations: 3.938 kB / 1.049 GB, free: 7.793 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.3561, allocations: 219.3 kB / 1.049 GB, free: 7.562 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.3562, allocations: 96.86 kB / 1.049 GB, free: 7.449 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.3562, allocations: 3.984 kB / 1.049 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.3563, allocations: 8 kB / 1.049 GB, free: 7.438 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.3564, allocations: 3.984 kB / 1.049 GB, free: 7.434 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3564, allocations: 4 kB / 1.049 GB, free: 7.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001086/0.3565, allocations: 135.5 kB / 1.049 GB, free: 7.297 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3565, allocations: 4 kB / 1.049 GB, free: 7.293 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002302/0.3567, allocations: 20 kB / 1.049 GB, free: 7.273 MB / 0.698 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.0001796/0.3569, allocations: 107.2 kB / 1.049 GB, free: 7.156 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.3572, allocations: 92.53 kB / 1.049 GB, free: 7.066 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3572, allocations: 4 kB / 1.049 GB, free: 7.062 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3573, allocations: 39.97 kB / 1.049 GB, free: 7.023 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.3578, allocations: 34.27 kB / 1.05 GB, free: 6.992 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005541/0.3583, allocations: 347.1 kB / 1.05 GB, free: 6.621 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.3586, allocations: 0.7083 MB / 1.051 GB, free: 5.887 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.3586, allocations: 11.44 kB / 1.051 GB, free: 5.879 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.3587, allocations: 0 / 1.051 GB, free: 5.879 MB / 0.698 GB Notification: Performance of Templates: time 0.003063/0.3617, allocations: 1.639 MB / 1.052 GB, free: 4.254 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)