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.008698/0.008698, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.001408/0.001408, allocations: 194.5 kB / 16.67 MB, free: 5.93 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.517/1.517, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.573/1.573, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.002032/0.002032, allocations: 67.89 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2624, allocations: 104.7 MB / 0.8281 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7914/1.054, allocations: 149 MB / 0.9736 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002456/1.056, allocations: 1.134 MB / 0.9747 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/1.057, allocations: 6.188 kB / 0.9747 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005732/1.057, allocations: 61.44 kB / 0.9747 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001477/1.059, allocations: 307.1 kB / 0.975 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007205/1.06, allocations: 174.1 kB / 0.9752 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008365/1.06, allocations: 220.3 kB / 0.9754 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/1.061, allocations: 51.84 kB / 0.9755 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/1.061, allocations: 52.11 kB / 0.9755 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/1.061, allocations: 65.2 kB / 0.9756 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/1.061, allocations: 15.41 kB / 0.9756 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009829/1.062, allocations: 365.1 kB / 0.9759 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/1.062, allocations: 30.97 kB / 0.976 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/1.062, allocations: 62.28 kB / 0.976 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008735/1.063, allocations: 299.8 kB / 0.9763 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.063, allocations: 4.875 kB / 0.9763 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.226e-06/1.063, allocations: 0 / 0.9763 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.297e-05/1.063, allocations: 0 / 0.9763 GB, free: 6.82 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.001103/1.064, allocations: 462.6 kB / 0.9768 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.065, allocations: 12.16 kB / 0.9768 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/1.065, allocations: 42.22 kB / 0.9768 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/1.065, allocations: 203.3 kB / 0.977 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/1.065, allocations: 13.23 kB / 0.977 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/1.065, allocations: 10.69 kB / 0.977 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/1.066, allocations: 115.5 kB / 0.9771 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/1.066, allocations: 1.375 kB / 0.9771 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/1.066, allocations: 3.312 kB / 0.9771 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/1.066, allocations: 2.781 kB / 0.9771 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/1.066, allocations: 102.9 kB / 0.9772 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008997/1.067, allocations: 455 kB / 0.9777 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/1.067, allocations: 91.31 kB / 0.9778 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/1.068, allocations: 40.45 kB / 0.9778 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/1.068, allocations: 4.562 kB / 0.9778 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/1.068, allocations: 34.66 kB / 0.9778 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/1.068, allocations: 0 / 0.9778 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0005191/1.068, allocations: 141 kB / 0.978 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/1.068, allocations: 57.94 kB / 0.978 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/1.068, allocations: 183.7 kB / 0.9782 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/1.068, allocations: 25.7 kB / 0.9782 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/1.069, allocations: 121.5 kB / 0.9783 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/1.069, allocations: 27.36 kB / 0.9784 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/1.069, allocations: 24.78 kB / 0.9784 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.069, allocations: 323.8 kB / 0.9787 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/1.069, allocations: 33.7 kB / 0.9787 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/1.069, allocations: 34.48 kB / 0.9788 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/1.069, allocations: 71.05 kB / 0.9788 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.069, allocations: 0 / 0.9788 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003153/1.07, allocations: 114.8 kB / 0.9789 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.07, allocations: 5.469 kB / 0.9789 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.07, allocations: 0 / 0.9789 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.07, allocations: 9.25 kB / 0.979 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/1.07, allocations: 21.02 kB / 0.979 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/1.07, allocations: 1.031 kB / 0.979 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/1.07, allocations: 11.44 kB / 0.979 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/1.07, allocations: 2.094 kB / 0.979 GB, free: 5.008 MB / 0.7325 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.0001237/1.07, allocations: 125.4 kB / 0.9791 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/1.07, allocations: 10.12 kB / 0.9791 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/1.071, allocations: 131.5 kB / 0.9792 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.071, allocations: 1.625 kB / 0.9792 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.071, allocations: 0 / 0.9792 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.071, allocations: 2.531 kB / 0.9792 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/1.071, allocations: 225.4 kB / 0.9795 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.071, allocations: 3.719 kB / 0.9795 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/1.071, allocations: 17.66 kB / 0.9795 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.071, allocations: 1.438 kB / 0.9795 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/1.071, allocations: 0 / 0.9795 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/1.071, allocations: 8 kB / 0.9795 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.071, allocations: 4.203 kB / 0.9795 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/1.071, allocations: 210.7 kB / 0.9797 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/1.072, allocations: 92.27 kB / 0.9798 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/1.072, allocations: 3.062 kB / 0.9798 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/1.072, allocations: 6.875 kB / 0.9798 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/1.072, allocations: 8.672 kB / 0.9798 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/1.072, allocations: 1.625 kB / 0.9798 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001527/1.072, allocations: 141.1 kB / 0.9799 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.072, allocations: 3.938 kB / 0.9799 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002835/1.072, allocations: 19.09 kB / 0.98 GB, free: 4.203 MB / 0.7325 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.000199/1.072, allocations: 109.8 kB / 0.9801 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003063/1.073, allocations: 79.3 kB / 0.9801 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.073, allocations: 0 / 0.9801 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/1.073, allocations: 38.12 kB / 0.9802 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/1.073, allocations: 44.66 kB / 0.9802 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007247/1.074, allocations: 262.8 kB / 0.9805 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/1.074, allocations: 0.7122 MB / 0.9812 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.066e-05/1.074, allocations: 13.36 kB / 0.9812 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/1.075, allocations: 13 kB / 0.9812 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/1.075, allocations: 0 / 0.9812 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.005979/1.08, allocations: 1.596 MB / 0.9827 GB, free: 3.023 MB / 0.7325 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)