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.007097/0.007097, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001376/0.001376, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.6 MB, free: 4.375 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.641/1.641, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001448/0.001448, allocations: 74.09 kB / 0.7258 GB, free: 8.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.239, allocations: 104.7 MB / 0.8281 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.796/1.035, allocations: 149 MB / 0.9736 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00232/1.037, allocations: 1.141 MB / 0.9747 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/1.038, allocations: 2.719 kB / 0.9747 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004951/1.038, allocations: 56.58 kB / 0.9747 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/1.04, allocations: 310.8 kB / 0.975 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006722/1.04, allocations: 169.4 kB / 0.9752 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007213/1.041, allocations: 222.6 kB / 0.9754 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/1.041, allocations: 60.36 kB / 0.9755 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/1.041, allocations: 53.73 kB / 0.9755 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/1.042, allocations: 62.22 kB / 0.9756 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/1.042, allocations: 10.88 kB / 0.9756 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/1.043, allocations: 367.8 kB / 0.9759 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.605e-05/1.043, allocations: 30.83 kB / 0.976 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001512/1.043, allocations: 62.45 kB / 0.976 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008836/1.044, allocations: 299.5 kB / 0.9763 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/1.044, allocations: 3.625 kB / 0.9763 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/1.044, allocations: 0 / 0.9763 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.645e-05/1.044, allocations: 1.094 kB / 0.9763 GB, free: 6.77 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.0009315/1.045, allocations: 465.1 kB / 0.9768 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/1.045, allocations: 9.25 kB / 0.9768 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/1.045, allocations: 41.84 kB / 0.9768 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/1.046, allocations: 205.7 kB / 0.977 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/1.046, allocations: 12.31 kB / 0.977 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/1.046, allocations: 9.969 kB / 0.977 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/1.046, allocations: 113.6 kB / 0.9771 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.046, allocations: 0 / 0.9771 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/1.046, allocations: 4.688 kB / 0.9771 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/1.046, allocations: 4 kB / 0.9771 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/1.047, allocations: 96.41 kB / 0.9772 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009957/1.048, allocations: 458.6 kB / 0.9777 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/1.048, allocations: 91.22 kB / 0.9778 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/1.048, allocations: 40.86 kB / 0.9778 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/1.048, allocations: 1.062 kB / 0.9778 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/1.048, allocations: 34.06 kB / 0.9778 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/1.048, allocations: 0 / 0.9778 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0005897/1.049, allocations: 143.7 kB / 0.978 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/1.049, allocations: 56.91 kB / 0.978 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/1.049, allocations: 178.2 kB / 0.9782 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/1.049, allocations: 36.91 kB / 0.9782 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/1.049, allocations: 116.4 kB / 0.9783 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/1.049, allocations: 21.42 kB / 0.9784 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/1.049, allocations: 24.61 kB / 0.9784 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.05, allocations: 325.6 kB / 0.9787 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/1.05, allocations: 36.94 kB / 0.9787 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/1.05, allocations: 33.61 kB / 0.9788 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/1.05, allocations: 75.5 kB / 0.9788 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.05, allocations: 1.125 kB / 0.9788 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003977/1.051, allocations: 115.1 kB / 0.9789 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.051, allocations: 9.031 kB / 0.979 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.051, allocations: 1.547 kB / 0.979 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.051, allocations: 1.031 kB / 0.979 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/1.051, allocations: 16.45 kB / 0.979 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/1.051, allocations: 1.781 kB / 0.979 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/1.051, allocations: 11.67 kB / 0.979 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/1.051, allocations: 5.562 kB / 0.979 GB, free: 4.949 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.0001407/1.051, allocations: 119.5 kB / 0.9791 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/1.051, allocations: 14.25 kB / 0.9791 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000457/1.052, allocations: 131 kB / 0.9792 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.052, allocations: 1 kB / 0.9792 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.052, allocations: 0 / 0.9792 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/1.052, allocations: 0 / 0.9792 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/1.052, allocations: 228 kB / 0.9795 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/1.052, allocations: 5.109 kB / 0.9795 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/1.052, allocations: 21.27 kB / 0.9795 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/1.052, allocations: 0.9375 kB / 0.9795 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/1.052, allocations: 5.344 kB / 0.9795 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.052, allocations: 1.719 kB / 0.9795 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.052, allocations: 0 / 0.9795 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/1.053, allocations: 212.2 kB / 0.9797 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/1.053, allocations: 94.16 kB / 0.9798 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/1.053, allocations: 1.344 kB / 0.9798 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/1.053, allocations: 13.88 kB / 0.9798 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/1.053, allocations: 4.734 kB / 0.9798 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/1.053, allocations: 5.25 kB / 0.9798 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001746/1.053, allocations: 141 kB / 0.9799 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/1.053, allocations: 0 / 0.9799 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004066/1.054, allocations: 19.72 kB / 0.98 GB, free: 4.145 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.0002618/1.054, allocations: 109.4 kB / 0.9801 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003737/1.055, allocations: 76.94 kB / 0.9801 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.055, allocations: 0 / 0.9801 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/1.055, allocations: 37.47 kB / 0.9802 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/1.055, allocations: 42.17 kB / 0.9802 GB, free: 4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/1.056, allocations: 262.7 kB / 0.9805 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/1.056, allocations: 0.7073 MB / 0.9812 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001066/1.057, allocations: 13.73 kB / 0.9812 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/1.057, allocations: 16.97 kB / 0.9812 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/1.057, allocations: 0 / 0.9812 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of Templates: time 0.00672/1.064, allocations: 1.595 MB / 0.9827 GB, free: 2.969 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)