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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008578/0.0008578, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006018/0.006018, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.711/1.711, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.608/1.608, allocations: 252 MB / 0.5105 GB, free: 4.68 MB / 414.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.0005053/0.0005053, allocations: 23.98 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.6001, allocations: 106.3 MB / 0.7287 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1712/0.7714, allocations: 144.9 MB / 0.8702 GB, free: 10 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.7731, allocations: 1.129 MB / 0.8713 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.7733, allocations: 4 kB / 0.8713 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.7737, allocations: 51.73 kB / 0.8713 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0009349/0.7747, allocations: 278.9 kB / 0.8716 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.7752, allocations: 151.5 kB / 0.8718 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0005509/0.7758, allocations: 227.3 kB / 0.872 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.7759, allocations: 55.2 kB / 0.872 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.776, allocations: 39.8 kB / 0.8721 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.7762, allocations: 47.72 kB / 0.8721 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.7762, allocations: 4 kB / 0.8721 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.7769, allocations: 411.1 kB / 0.8725 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.7769, allocations: 19.92 kB / 0.8725 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 8.302e-05/0.777, allocations: 77.38 kB / 0.8726 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0005224/0.7776, allocations: 299.1 kB / 0.8729 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7776, allocations: 0 / 0.8729 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7776, allocations: 0 / 0.8729 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.7776, allocations: 0 / 0.8729 GB, free: 7.227 MB / 0.6856 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.0007481/0.7783, allocations: 447 kB / 0.8733 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.7784, allocations: 12.03 kB / 0.8733 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.7788, allocations: 44.72 kB / 0.8734 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.779, allocations: 212 kB / 0.8736 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.7791, allocations: 15.88 kB / 0.8736 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.7791, allocations: 12 kB / 0.8736 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.7794, allocations: 121.6 kB / 0.8737 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.7794, allocations: 0 / 0.8737 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.7795, allocations: 4 kB / 0.8737 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.7795, allocations: 4 kB / 0.8737 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.7798, allocations: 103.9 kB / 0.8738 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007767/0.7805, allocations: 460 kB / 0.8742 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.7808, allocations: 102.5 kB / 0.8743 GB, free: 5.57 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.7809, allocations: 36.95 kB / 0.8744 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.7809, allocations: 4 kB / 0.8744 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.781, allocations: 34.5 kB / 0.8744 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.781, allocations: 0 / 0.8744 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7): time 0.0004962/0.7815, allocations: 165.5 kB / 0.8746 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.7815, allocations: 51.41 kB / 0.8746 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.7817, allocations: 192.4 kB / 0.8748 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.7818, allocations: 25.7 kB / 0.8748 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.7819, allocations: 115.9 kB / 0.8749 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.7819, allocations: 19.72 kB / 0.875 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.7819, allocations: 17.7 kB / 0.875 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7821, allocations: 326.8 kB / 0.8753 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.7822, allocations: 39.98 kB / 0.8753 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.7823, allocations: 35.97 kB / 0.8754 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.7825, allocations: 84.77 kB / 0.8754 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7826, allocations: 4 kB / 0.8754 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002929/0.7829, allocations: 129.5 kB / 0.8756 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.7829, allocations: 8 kB / 0.8756 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.7829, allocations: 0 / 0.8756 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.7829, allocations: 0 / 0.8756 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.783, allocations: 27.98 kB / 0.8756 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7831, allocations: 0 / 0.8756 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.7832, allocations: 15.84 kB / 0.8756 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.7832, allocations: 7.984 kB / 0.8756 GB, free: 4.184 MB / 0.6856 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.0001057/0.7833, allocations: 125.7 kB / 0.8757 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.7833, allocations: 15.81 kB / 0.8758 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003418/0.7837, allocations: 135 kB / 0.8759 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.7837, allocations: 0 / 0.8759 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.7837, allocations: 0 / 0.8759 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.7837, allocations: 0 / 0.8759 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.784, allocations: 225.5 kB / 0.8761 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.784, allocations: 0 / 0.8761 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.7841, allocations: 23.92 kB / 0.8761 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.7841, allocations: 4 kB / 0.8761 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.7841, allocations: 0 / 0.8761 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7841, allocations: 0 / 0.8761 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7841, allocations: 0 / 0.8761 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.7845, allocations: 223.3 kB / 0.8763 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.7845, allocations: 96.84 kB / 0.8764 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.7846, allocations: 0 / 0.8764 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.7847, allocations: 23.92 kB / 0.8765 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.7847, allocations: 4 kB / 0.8765 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.7847, allocations: 0 / 0.8765 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001265/0.7849, allocations: 144.2 kB / 0.8766 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7849, allocations: 0 / 0.8766 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002499/0.7851, allocations: 20 kB / 0.8766 GB, free: 3.066 MB / 0.6856 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.0001695/0.7853, allocations: 107.2 kB / 0.8767 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.7856, allocations: 92.59 kB / 0.8768 GB, free: 2.859 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7856, allocations: 0 / 0.8768 GB, free: 2.859 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.7858, allocations: 47.91 kB / 0.8769 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.7862, allocations: 31.97 kB / 0.8769 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.7868, allocations: 313.4 kB / 0.8772 GB, free: 2.449 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.7871, allocations: 0.7004 MB / 0.8779 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 8.313e-05/0.7872, allocations: 16.88 kB / 0.8779 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.7872, allocations: 11.44 kB / 0.8779 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of SimCode: time 2.91e-07/0.7872, allocations: 0 / 0.8779 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of Templates: time 0.004373/0.7916, allocations: 1.467 MB / 0.8793 GB, free: 264 kB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: