Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001086/0.001086, allocations: 108.8 kB / 16.38 MB, free: 6.473 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.001062/0.001062, allocations: 184 kB / 17.31 MB, free: 5.824 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.454/1.454, allocations: 205.1 MB / 223.2 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.3 MB / 0.5496 GB, free: 17.4 MB / 462.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.00147/0.00147, allocations: 70.25 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2314, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.6099/0.8413, allocations: 149 MB / 0.9303 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.8433, allocations: 1.135 MB / 0.9314 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.8435, allocations: 1.469 kB / 0.9314 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.8439, allocations: 58.91 kB / 0.9315 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.8451, allocations: 299.9 kB / 0.9318 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.8456, allocations: 167 kB / 0.9319 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005345/0.8461, allocations: 223.8 kB / 0.9321 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.8463, allocations: 48.55 kB / 0.9322 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.8464, allocations: 55.83 kB / 0.9322 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.8465, allocations: 67.64 kB / 0.9323 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.8466, allocations: 12 kB / 0.9323 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008413/0.8474, allocations: 367.3 kB / 0.9326 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.8475, allocations: 27.92 kB / 0.9327 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.8476, allocations: 63.61 kB / 0.9327 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005904/0.8482, allocations: 291.6 kB / 0.933 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8482, allocations: 3.938 kB / 0.933 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8482, allocations: 0 / 0.933 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.8482, allocations: 0 / 0.933 GB, free: 2.344 MB / 0.7169 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.0007786/0.849, allocations: 477.7 kB / 0.9335 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.8491, allocations: 13.53 kB / 0.9335 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003109/0.8494, allocations: 36.72 kB / 0.9335 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.8497, allocations: 220.1 kB / 0.9337 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.8498, allocations: 4 kB / 0.9337 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.8498, allocations: 8 kB / 0.9337 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.8501, allocations: 117.6 kB / 0.9339 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.8501, allocations: 0 / 0.9339 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.8501, allocations: 8 kB / 0.9339 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.8502, allocations: 4 kB / 0.9339 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.8504, allocations: 91.92 kB / 0.934 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.8512, allocations: 448.1 kB / 0.9344 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.8515, allocations: 98.47 kB / 0.9345 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.8516, allocations: 36.95 kB / 0.9345 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.8516, allocations: 0 / 0.9345 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.8517, allocations: 38.56 kB / 0.9345 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.8517, allocations: 0 / 0.9345 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004583/0.8521, allocations: 146.6 kB / 0.9347 GB, free: 480 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.8522, allocations: 51.41 kB / 0.9347 GB, free: 416 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.8524, allocations: 184.1 kB / 0.9349 GB, free: 224 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.8524, allocations: 29.64 kB / 0.9349 GB, free: 188 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.8525, allocations: 112 kB / 0.935 GB, free: 72 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.8525, allocations: 19.72 kB / 0.9351 GB, free: 52 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.8526, allocations: 21.7 kB / 0.9351 GB, free: 24 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.8527, allocations: 330.8 kB / 0.9354 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.8529, allocations: 31.98 kB / 0.9354 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.853, allocations: 35.97 kB / 0.9355 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.8532, allocations: 72.81 kB / 0.9355 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8532, allocations: 0 / 0.9355 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002808/0.8535, allocations: 122.1 kB / 0.9357 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8535, allocations: 5.781 kB / 0.9357 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.8535, allocations: 0 / 0.9357 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.8535, allocations: 4 kB / 0.9357 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.8537, allocations: 23.92 kB / 0.9357 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.8537, allocations: 3.938 kB / 0.9357 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.8538, allocations: 15.83 kB / 0.9357 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.8538, allocations: 4 kB / 0.9357 GB, free: 15.37 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.000197/0.854, allocations: 125.8 kB / 0.9358 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.8541, allocations: 11.91 kB / 0.9358 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.8544, allocations: 129.4 kB / 0.936 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8544, allocations: 0 / 0.936 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8544, allocations: 0 / 0.936 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.8545, allocations: 88.92 kB / 0.936 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.8545, allocations: 4.625 kB / 0.9361 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.8546, allocations: 7.984 kB / 0.9361 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.8547, allocations: 12 kB / 0.9361 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003265/0.855, allocations: 184.9 kB / 0.9362 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003944/0.8554, allocations: 278.6 kB / 0.9365 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001196/0.8556, allocations: 47.95 kB / 0.9366 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001377/0.8557, allocations: 137.5 kB / 0.9367 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of Backend: time 4.81e-07/0.8557, allocations: 0 / 0.9367 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007036/0.8564, allocations: 207.6 kB / 0.9369 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0007436/0.8572, allocations: 0.697 MB / 0.9376 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of Templates: time 0.005546/0.8627, allocations: 2.497 MB / 0.94 GB, free: 10.94 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)