Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 195.9 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 222 MB, free: 4.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.2 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 72.11 kB / 0.6708 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2802, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7039/0.9841, allocations: 146.7 MB / 0.926 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.9857, allocations: 1.152 MB / 0.9271 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.9859, allocations: 2.094 kB / 0.9271 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.9863, allocations: 44.09 kB / 0.9271 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007277/0.9871, allocations: 275.8 kB / 0.9274 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.9875, allocations: 152.2 kB / 0.9275 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005239/0.988, allocations: 233.2 kB / 0.9278 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.9882, allocations: 60.75 kB / 0.9278 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.182e-05/0.9883, allocations: 45.02 kB / 0.9279 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.9884, allocations: 58.81 kB / 0.9279 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.9885, allocations: 5.281 kB / 0.9279 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007997/0.9893, allocations: 414.2 kB / 0.9283 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.9893, allocations: 25.88 kB / 0.9283 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.326e-05/0.9894, allocations: 60.52 kB / 0.9284 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.99, allocations: 299.6 kB / 0.9287 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.99, allocations: 0 / 0.9287 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.99, allocations: 1 kB / 0.9287 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.99, allocations: 0 / 0.9287 GB, free: 5.902 MB / 0.7325 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.001013/0.991, allocations: 465.2 kB / 0.9291 GB, free: 21.5 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.9911, allocations: 8.781 kB / 0.9291 GB, free: 21.5 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.9914, allocations: 43.06 kB / 0.9292 GB, free: 21.48 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.9917, allocations: 217.3 kB / 0.9294 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.9917, allocations: 7.859 kB / 0.9294 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.9917, allocations: 6.781 kB / 0.9294 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.992, allocations: 121.4 kB / 0.9295 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.9921, allocations: 0 / 0.9295 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.9921, allocations: 5.75 kB / 0.9295 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.9921, allocations: 7.891 kB / 0.9295 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.9924, allocations: 94.22 kB / 0.9296 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007711/0.9932, allocations: 456.1 kB / 0.9301 GB, free: 20.94 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.9934, allocations: 90.94 kB / 0.9301 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.9936, allocations: 40.83 kB / 0.9302 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.9936, allocations: 1.625 kB / 0.9302 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.9936, allocations: 33.31 kB / 0.9302 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.9936, allocations: 5.062 kB / 0.9302 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.0004978/0.9941, allocations: 141.3 kB / 0.9304 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.9942, allocations: 54.17 kB / 0.9304 GB, free: 20.77 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.9944, allocations: 180.1 kB / 0.9306 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.9944, allocations: 30.3 kB / 0.9306 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.9945, allocations: 112.7 kB / 0.9307 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.9945, allocations: 22.67 kB / 0.9307 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.9946, allocations: 26.91 kB / 0.9308 GB, free: 20.51 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.9947, allocations: 325.3 kB / 0.9311 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.9948, allocations: 33.52 kB / 0.9311 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.9949, allocations: 30.56 kB / 0.9311 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.9952, allocations: 77.17 kB / 0.9312 GB, free: 20.19 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9952, allocations: 5.203 kB / 0.9312 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002776/0.9954, allocations: 121 kB / 0.9313 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.9955, allocations: 5.234 kB / 0.9313 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9955, allocations: 0 / 0.9313 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.9955, allocations: 0.7812 kB / 0.9313 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.9957, allocations: 20.83 kB / 0.9314 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.9957, allocations: 1.406 kB / 0.9314 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.9958, allocations: 11.44 kB / 0.9314 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.9958, allocations: 6.547 kB / 0.9314 GB, free: 20.14 MB / 0.7481 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 9.692e-05/0.9959, allocations: 126.7 kB / 0.9315 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.9959, allocations: 14.09 kB / 0.9315 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/0.9963, allocations: 122.5 kB / 0.9316 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.9963, allocations: 2.719 kB / 0.9316 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.9963, allocations: 1 kB / 0.9316 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.9963, allocations: 0.5156 kB / 0.9316 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.9966, allocations: 230.2 kB / 0.9318 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9966, allocations: 0 / 0.9318 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.9967, allocations: 16.61 kB / 0.9319 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.9967, allocations: 0.9688 kB / 0.9319 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.9967, allocations: 0 / 0.9319 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.9967, allocations: 5.766 kB / 0.9319 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9967, allocations: 1.094 kB / 0.9319 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.997, allocations: 223.3 kB / 0.9321 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.9971, allocations: 88.75 kB / 0.9322 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.9971, allocations: 2.172 kB / 0.9322 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.9973, allocations: 9.453 kB / 0.9322 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.9973, allocations: 5.734 kB / 0.9322 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.9973, allocations: 1.453 kB / 0.9322 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001362/0.9975, allocations: 140.5 kB / 0.9323 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9975, allocations: 0 / 0.9323 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000277/0.9978, allocations: 22.56 kB / 0.9323 GB, free: 19.45 MB / 0.7481 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.0001681/0.9979, allocations: 113.8 kB / 0.9325 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.9982, allocations: 70.77 kB / 0.9325 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.9982, allocations: 1.25 kB / 0.9325 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.9984, allocations: 46.19 kB / 0.9326 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.9988, allocations: 30.55 kB / 0.9326 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.9994, allocations: 296.6 kB / 0.9329 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.9996, allocations: 0.7099 MB / 0.9336 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.11e-05/0.9997, allocations: 13.56 kB / 0.9336 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.9998, allocations: 17.53 kB / 0.9336 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/0.9998, allocations: 0 / 0.9336 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of Templates: time 0.004512/1.004, allocations: 1.471 MB / 0.935 GB, free: 18.35 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)