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.001125/0.001125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001242/0.001242, allocations: 193.6 kB / 16.14 MB, free: 6.699 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.42/1.42, allocations: 205.1 MB / 222 MB, free: 4.758 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.564/1.564, allocations: 251.6 MB / 0.5088 GB, free: 3.332 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.001334/0.001334, allocations: 67.91 kB / 0.6216 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5182/0.5195, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1855/0.705, allocations: 146.7 MB / 0.8671 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.7068, allocations: 1.149 MB / 0.8682 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.707, allocations: 0 / 0.8682 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.7074, allocations: 51.73 kB / 0.8683 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.7085, allocations: 274.9 kB / 0.8685 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.7091, allocations: 155.5 kB / 0.8687 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.000609/0.7097, allocations: 235.3 kB / 0.8689 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.7099, allocations: 55.06 kB / 0.869 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 8.691e-05/0.71, allocations: 43.84 kB / 0.869 GB, free: 7.91 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.7101, allocations: 59.69 kB / 0.8691 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.7102, allocations: 8 kB / 0.8691 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007175/0.7109, allocations: 407.1 kB / 0.8695 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.711, allocations: 23.91 kB / 0.8695 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.711, allocations: 55.67 kB / 0.8695 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.7115, allocations: 295.2 kB / 0.8698 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7115, allocations: 8 kB / 0.8698 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7115, allocations: 0 / 0.8698 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.7115, allocations: 3.938 kB / 0.8698 GB, free: 7.066 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.0007529/0.7123, allocations: 466.9 kB / 0.8703 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.7123, allocations: 12.03 kB / 0.8703 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.7127, allocations: 36.72 kB / 0.8703 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.7129, allocations: 220 kB / 0.8705 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.7129, allocations: 11.88 kB / 0.8705 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.713, allocations: 12 kB / 0.8706 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.7132, allocations: 110.5 kB / 0.8707 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7133, allocations: 3.938 kB / 0.8707 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.7133, allocations: 4 kB / 0.8707 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.7133, allocations: 7.984 kB / 0.8707 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.7136, allocations: 91.94 kB / 0.8708 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007708/0.7144, allocations: 452.1 kB / 0.8712 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.7146, allocations: 98.56 kB / 0.8713 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.7147, allocations: 40.84 kB / 0.8713 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.7147, allocations: 0 / 0.8713 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.7148, allocations: 34.56 kB / 0.8714 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.7148, allocations: 0 / 0.8714 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7): time 0.0004514/0.7152, allocations: 137.5 kB / 0.8715 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.7153, allocations: 55.41 kB / 0.8715 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.7155, allocations: 184.9 kB / 0.8717 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.7155, allocations: 25.7 kB / 0.8718 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.7156, allocations: 119.9 kB / 0.8719 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.11e-05/0.7156, allocations: 23.66 kB / 0.8719 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.7157, allocations: 21.7 kB / 0.8719 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7158, allocations: 330.8 kB / 0.8722 GB, free: 4.406 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.716, allocations: 35.92 kB / 0.8723 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.665e-05/0.7161, allocations: 35.91 kB / 0.8723 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.7163, allocations: 73.28 kB / 0.8724 GB, free: 4.262 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.7163, allocations: 0 / 0.8724 GB, free: 4.262 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002583/0.7166, allocations: 125.5 kB / 0.8725 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.7166, allocations: 4 kB / 0.8725 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.7166, allocations: 0 / 0.8725 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.7166, allocations: 0 / 0.8725 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.7168, allocations: 27.92 kB / 0.8725 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.7168, allocations: 0 / 0.8725 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.7169, allocations: 11.84 kB / 0.8725 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.7169, allocations: 3.984 kB / 0.8725 GB, free: 4.086 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 9.432e-05/0.717, allocations: 125.8 kB / 0.8726 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.717, allocations: 11.91 kB / 0.8727 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.7174, allocations: 126.9 kB / 0.8728 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.7174, allocations: 0 / 0.8728 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7174, allocations: 4 kB / 0.8728 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.7174, allocations: 0 / 0.8728 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.7176, allocations: 221.5 kB / 0.873 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7176, allocations: 3.938 kB / 0.873 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.7177, allocations: 19.98 kB / 0.873 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.7177, allocations: 4 kB / 0.873 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.7178, allocations: 4 kB / 0.873 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7178, allocations: 0 / 0.873 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7178, allocations: 0 / 0.873 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.7181, allocations: 211.4 kB / 0.8732 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.7181, allocations: 92.84 kB / 0.8733 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.7182, allocations: 8 kB / 0.8733 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.7183, allocations: 7.984 kB / 0.8733 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.7183, allocations: 4 kB / 0.8733 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.7183, allocations: 7.938 kB / 0.8733 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001065/0.7185, allocations: 136.2 kB / 0.8735 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7185, allocations: 0 / 0.8735 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002432/0.7187, allocations: 24 kB / 0.8735 GB, free: 2.996 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.000242/0.719, allocations: 106.2 kB / 0.8736 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002598/0.7192, allocations: 79.88 kB / 0.8737 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7192, allocations: 3.938 kB / 0.8737 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.7194, allocations: 47.91 kB / 0.8737 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.7198, allocations: 43.83 kB / 0.8738 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.7203, allocations: 290.5 kB / 0.874 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.7207, allocations: 0.7082 MB / 0.8747 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 7.592e-05/0.7207, allocations: 12.88 kB / 0.8747 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.7208, allocations: 15.44 kB / 0.8748 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of SimCode: time 2.1e-07/0.7208, allocations: 0 / 0.8748 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of Templates: time 0.004173/0.725, allocations: 1.464 MB / 0.8762 GB, free: 204 kB / 0.6856 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)