Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.57/2.57, allocations: 287.3 MB / 302.3 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001588/0.001588, allocations: 187.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 100.5 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000553/0.0005532, allocations: 14.09 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2151, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.8877/1.103, allocations: 125.9 MB / 1.101 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00216/1.105, allocations: 0.8461 MB / 1.102 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/1.105, allocations: 2.75 kB / 1.102 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003408/1.106, allocations: 34.39 kB / 1.102 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0009309/1.107, allocations: 147.7 kB / 1.102 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/1.107, allocations: 96.12 kB / 1.102 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001077/1.108, allocations: 225 kB / 1.102 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/1.109, allocations: 45.22 kB / 1.102 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/1.109, allocations: 31.16 kB / 1.103 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/1.109, allocations: 43.02 kB / 1.103 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/1.109, allocations: 3.594 kB / 1.103 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009352/1.11, allocations: 206.1 kB / 1.103 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/1.11, allocations: 17.48 kB / 1.103 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/1.11, allocations: 44.95 kB / 1.103 GB, free: 17.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005918/1.111, allocations: 161.4 kB / 1.103 GB, free: 17.79 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.111, allocations: 4.844 kB / 1.103 GB, free: 17.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.827e-06/1.111, allocations: 0 / 1.103 GB, free: 17.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.111, allocations: 3.938 kB / 1.103 GB, free: 17.79 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.001066/1.112, allocations: 442.5 kB / 1.103 GB, free: 17.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.112, allocations: 9.188 kB / 1.103 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006234/1.113, allocations: 40.88 kB / 1.103 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/1.113, allocations: 202.6 kB / 1.104 GB, free: 17.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/1.113, allocations: 7.469 kB / 1.104 GB, free: 17.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/1.113, allocations: 10.31 kB / 1.104 GB, free: 17.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/1.114, allocations: 127.4 kB / 1.104 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/1.114, allocations: 5.812 kB / 1.104 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/1.114, allocations: 7.906 kB / 1.104 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/1.114, allocations: 6.453 kB / 1.104 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/1.115, allocations: 100.9 kB / 1.104 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/1.116, allocations: 457.2 kB / 1.104 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/1.117, allocations: 99.95 kB / 1.104 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/1.117, allocations: 0.75 kB / 1.104 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/1.117, allocations: 39.31 kB / 1.104 GB, free: 16.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 4.228e-06/1.117, allocations: 0 / 1.104 GB, free: 16.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.001062/1.118, allocations: 163.3 kB / 1.105 GB, free: 16.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/1.118, allocations: 52.84 kB / 1.105 GB, free: 16.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/1.118, allocations: 176.8 kB / 1.105 GB, free: 16.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/1.118, allocations: 28.95 kB / 1.105 GB, free: 16.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/1.119, allocations: 119.8 kB / 1.105 GB, free: 16.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/1.119, allocations: 24.25 kB / 1.105 GB, free: 16.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/1.119, allocations: 1.75 kB / 1.105 GB, free: 16.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.119, allocations: 328.5 kB / 1.105 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/1.119, allocations: 35.23 kB / 1.105 GB, free: 16.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/1.119, allocations: 35.08 kB / 1.105 GB, free: 16.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/1.12, allocations: 45.83 kB / 1.105 GB, free: 16.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.12, allocations: 0 / 1.105 GB, free: 16.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007424/1.121, allocations: 127.4 kB / 1.106 GB, free: 16.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/1.121, allocations: 8.031 kB / 1.106 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.121, allocations: 5.406 kB / 1.106 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/1.121, allocations: 0 / 1.106 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/1.121, allocations: 23.72 kB / 1.106 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/1.121, allocations: 7.891 kB / 1.106 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/1.121, allocations: 18.19 kB / 1.106 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/1.121, allocations: 3.359 kB / 1.106 GB, free: 16.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002067/1.122, allocations: 123.9 kB / 1.106 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.685e-05/1.122, allocations: 13.34 kB / 1.106 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007845/1.122, allocations: 130.8 kB / 1.106 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/1.123, allocations: 1.438 kB / 1.106 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.123, allocations: 0 / 1.106 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.123, allocations: 4.562 kB / 1.106 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/1.123, allocations: 224.7 kB / 1.106 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.123, allocations: 1.312 kB / 1.106 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/1.123, allocations: 22.73 kB / 1.106 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/1.123, allocations: 0 / 1.106 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/1.123, allocations: 2.125 kB / 1.106 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.123, allocations: 0 / 1.106 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.123, allocations: 3.938 kB / 1.106 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/1.124, allocations: 222.9 kB / 1.106 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/1.124, allocations: 92.77 kB / 1.106 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/1.125, allocations: 0.6094 kB / 1.106 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/1.125, allocations: 12.27 kB / 1.106 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/1.125, allocations: 14.12 kB / 1.106 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/1.125, allocations: 1.25 kB / 1.106 GB, free: 15.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002704/1.125, allocations: 137.9 kB / 1.107 GB, free: 15.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.82e-07/1.125, allocations: 0 / 1.107 GB, free: 15.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000606/1.126, allocations: 24.78 kB / 1.107 GB, free: 15.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002664/1.126, allocations: 106.2 kB / 1.107 GB, free: 15.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006825/1.127, allocations: 84.78 kB / 1.107 GB, free: 15.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.127, allocations: 0 / 1.107 GB, free: 15.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/1.127, allocations: 51.56 kB / 1.107 GB, free: 15.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/1.128, allocations: 33.22 kB / 1.107 GB, free: 15.22 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/1.129, allocations: 306.7 kB / 1.107 GB, free: 15.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/1.13, allocations: 0.7132 MB / 1.108 GB, free: 14.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002169/1.13, allocations: 10.8 kB / 1.108 GB, free: 14.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.669e-05/1.13, allocations: 13.03 kB / 1.108 GB, free: 14.33 MB / 0.698 GB Notification: Performance of SimCode: time 2.825e-06/1.13, allocations: 0 / 1.108 GB, free: 14.33 MB / 0.698 GB Notification: Performance of Templates: time 0.009382/1.139, allocations: 1.419 MB / 1.109 GB, free: 14.21 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)