Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.474/2.474, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.001405/0.001404, allocations: 183.7 kB / 326.3 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.451/2.451, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0009311/0.0009307, allocations: 94.09 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006394/0.0006396, allocations: 14.31 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2008, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.2215/0.4223, allocations: 135.1 MB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.4245, allocations: 1.048 MB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.4247, allocations: 4 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.425, allocations: 43.67 kB / 1.033 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0008977/0.4259, allocations: 191 kB / 1.033 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005853/0.4265, allocations: 135.5 kB / 1.033 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0005885/0.4271, allocations: 223.3 kB / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.4273, allocations: 49.27 kB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.4274, allocations: 35.8 kB / 1.033 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.4275, allocations: 55.75 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.4275, allocations: 8 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008003/0.4283, allocations: 279.5 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.4284, allocations: 23.86 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.4285, allocations: 41.64 kB / 1.034 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.4289, allocations: 199.9 kB / 1.034 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4289, allocations: 0 / 1.034 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4289, allocations: 0 / 1.034 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.429, allocations: 0 / 1.034 GB, free: 7.637 MB / 0.6823 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.0008297/0.4298, allocations: 454.9 kB / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.4299, allocations: 8.031 kB / 1.034 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.4303, allocations: 40.66 kB / 1.034 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.4306, allocations: 211.9 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.4306, allocations: 8 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.4307, allocations: 12 kB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.4311, allocations: 126.6 kB / 1.035 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4311, allocations: 0 / 1.035 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.4311, allocations: 4 kB / 1.035 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4311, allocations: 0 / 1.035 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004679/0.4316, allocations: 107.9 kB / 1.035 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009856/0.4326, allocations: 456.1 kB / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.433, allocations: 98.48 kB / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.4332, allocations: 44.94 kB / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.4333, allocations: 0 / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.4333, allocations: 34.56 kB / 1.035 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.4333, allocations: 0 / 1.035 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0007798/0.4341, allocations: 165.4 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.4341, allocations: 51.41 kB / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.4344, allocations: 179.5 kB / 1.036 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.4344, allocations: 29.7 kB / 1.036 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.4346, allocations: 116 kB / 1.036 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.4346, allocations: 23.7 kB / 1.036 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.4346, allocations: 0 / 1.036 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4348, allocations: 326.8 kB / 1.036 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.435, allocations: 39.97 kB / 1.036 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.4352, allocations: 35.98 kB / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.4354, allocations: 35.98 kB / 1.036 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4354, allocations: 4 kB / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005021/0.4359, allocations: 129.5 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.436, allocations: 4 kB / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.436, allocations: 0 / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.436, allocations: 0 / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.4363, allocations: 31.92 kB / 1.036 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4363, allocations: 4 kB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.4365, allocations: 15.92 kB / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.4365, allocations: 0 / 1.036 GB, free: 4.684 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.4366, allocations: 122.4 kB / 1.037 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.4367, allocations: 15.81 kB / 1.037 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005552/0.4373, allocations: 143 kB / 1.037 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.4373, allocations: 7.922 kB / 1.037 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.4373, allocations: 4 kB / 1.037 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.4374, allocations: 85.02 kB / 1.037 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.4374, allocations: 0 / 1.037 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.4377, allocations: 23.86 kB / 1.037 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.4377, allocations: 8 kB / 1.037 GB, free: 4.25 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006142/0.4383, allocations: 197.5 kB / 1.037 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005639/0.4389, allocations: 298.6 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002116/0.4392, allocations: 47.97 kB / 1.037 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001783/0.4393, allocations: 135.5 kB / 1.037 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of Backend: time 7.31e-07/0.4394, allocations: 4 kB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009791/0.4403, allocations: 206.2 kB / 1.038 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of SimCode: time 0.0011/0.4415, allocations: 0.7529 MB / 1.038 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of Templates: time 0.00843/0.4499, allocations: 2.324 MB / 1.041 GB, free: 244 kB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)