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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.309/1.309, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008985/0.0008985, allocations: 175.8 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205 MB / 0.5767 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007209/0.0007207, allocations: 91.97 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 10.88 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1688, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1338/0.3026, allocations: 146.4 MB / 1.04 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.304, allocations: 1.153 MB / 1.041 GB, free: 84 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.3041, allocations: 4 kB / 1.041 GB, free: 80 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.3044, allocations: 47.73 kB / 1.041 GB, free: 32 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0006441/0.305, allocations: 278.9 kB / 1.041 GB, free: 15.76 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.3053, allocations: 147.5 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.3057, allocations: 239.2 kB / 1.042 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3058, allocations: 59.45 kB / 1.042 GB, free: 15.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.604e-05/0.3059, allocations: 35.86 kB / 1.042 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.306, allocations: 51.66 kB / 1.042 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.306, allocations: 4 kB / 1.042 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.3065, allocations: 411.1 kB / 1.042 GB, free: 14.83 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.3066, allocations: 15.92 kB / 1.042 GB, free: 14.81 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.3066, allocations: 55.61 kB / 1.042 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.307, allocations: 291.2 kB / 1.042 GB, free: 14.47 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.307, allocations: 0 / 1.042 GB, free: 14.47 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.252e-06/0.307, allocations: 0 / 1.042 GB, free: 14.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.307, allocations: 0 / 1.042 GB, free: 14.47 MB / 0.698 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.0005724/0.3076, allocations: 454.9 kB / 1.043 GB, free: 13.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3077, allocations: 12.02 kB / 1.043 GB, free: 13.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.3079, allocations: 32.73 kB / 1.043 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.3081, allocations: 208.1 kB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3082, allocations: 15.88 kB / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.3082, allocations: 19.98 kB / 1.043 GB, free: 13.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.3084, allocations: 110.3 kB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3084, allocations: 0 / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3085, allocations: 8 kB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3085, allocations: 3.938 kB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.3087, allocations: 107.9 kB / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.3094, allocations: 464 kB / 1.044 GB, free: 12.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.3096, allocations: 90.55 kB / 1.044 GB, free: 12.83 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.3097, allocations: 48.94 kB / 1.044 GB, free: 12.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.3097, allocations: 8 kB / 1.044 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.3098, allocations: 34.55 kB / 1.044 GB, free: 12.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3098, allocations: 0 / 1.044 GB, free: 12.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004172/0.3102, allocations: 161.5 kB / 1.044 GB, free: 12.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.3102, allocations: 51.41 kB / 1.044 GB, free: 12.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.3104, allocations: 175.5 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.3104, allocations: 29.7 kB / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.3105, allocations: 115.9 kB / 1.044 GB, free: 12.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.3105, allocations: 23.64 kB / 1.044 GB, free: 12.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.3105, allocations: 13.72 kB / 1.045 GB, free: 12.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3107, allocations: 330.8 kB / 1.045 GB, free: 11.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.3108, allocations: 39.97 kB / 1.045 GB, free: 11.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/0.3109, allocations: 31.98 kB / 1.045 GB, free: 11.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.3111, allocations: 92.81 kB / 1.045 GB, free: 11.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3111, allocations: 0 / 1.045 GB, free: 11.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002477/0.3114, allocations: 125.5 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3114, allocations: 12 kB / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3114, allocations: 3.938 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3114, allocations: 0 / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3115, allocations: 19.98 kB / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3115, allocations: 0 / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.564e-05/0.3116, allocations: 27.83 kB / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.3117, allocations: 3.984 kB / 1.045 GB, free: 11.43 MB / 0.698 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.092e-05/0.3118, allocations: 132 kB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.3118, allocations: 11.81 kB / 1.045 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.3121, allocations: 135.5 kB / 1.045 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3121, allocations: 0 / 1.045 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3121, allocations: 4 kB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.3122, allocations: 93 kB / 1.046 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.3122, allocations: 0 / 1.046 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.3123, allocations: 7.938 kB / 1.046 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.3124, allocations: 7.984 kB / 1.046 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003321/0.3127, allocations: 209 kB / 1.046 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003031/0.313, allocations: 298.5 kB / 1.046 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001161/0.3132, allocations: 43.97 kB / 1.046 GB, free: 10.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.476e-05/0.3133, allocations: 135.5 kB / 1.046 GB, free: 10.32 MB / 0.698 GB Notification: Performance of Backend: time 2.01e-07/0.3133, allocations: 0 / 1.046 GB, free: 10.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006098/0.3139, allocations: 212.8 kB / 1.046 GB, free: 10.11 MB / 0.698 GB Notification: Performance of SimCode: time 0.0007175/0.3146, allocations: 0.7421 MB / 1.047 GB, free: 9.32 MB / 0.698 GB Notification: Performance of Templates: time 0.004834/0.3195, allocations: 2.36 MB / 1.049 GB, free: 6.973 MB / 0.698 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)