Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 109.4 kB / 16.38 MB, free: 6.484 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.001507/0.001508, allocations: 190.7 kB / 17.32 MB, free: 5.816 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.292/1.292, 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.716/1.716, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001532/0.001532, allocations: 71.91 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1991, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6588/0.8579, allocations: 328.4 MB / 1.106 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03495/0.8929, allocations: 29.84 MB / 1.135 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003189/0.8961, allocations: 103.4 kB / 1.135 GB, free: 3.055 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005293/0.9015, allocations: 2.093 MB / 1.137 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.4309/1.332, allocations: 4.941 MB / 1.142 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.008065/1.34, allocations: 3.658 MB / 1.145 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009825/1.35, allocations: 6.916 MB / 1.152 GB, free: 3.535 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004812/1.355, allocations: 2.871 MB / 1.155 GB, free: 19.24 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01256/1.368, allocations: 5.277 MB / 1.16 GB, free: 19.17 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005018/1.373, allocations: 2.413 MB / 1.162 GB, free: 19.17 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006992/1.373, allocations: 294.6 kB / 1.163 GB, free: 19.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009346/1.383, allocations: 4.81 MB / 1.167 GB, free: 19.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001405/1.384, allocations: 1.062 MB / 1.168 GB, free: 19.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002926/1.387, allocations: 1.732 MB / 1.17 GB, free: 19.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01046/1.398, allocations: 5.744 MB / 1.176 GB, free: 18.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.398, allocations: 0.625 kB / 1.176 GB, free: 18.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.004e-06/1.398, allocations: 0.7188 kB / 1.176 GB, free: 18.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.892e-05/1.398, allocations: 2.531 kB / 1.176 GB, free: 18.7 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.009023/1.407, allocations: 3.701 MB / 1.179 GB, free: 17.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1.407, allocations: 8.5 kB / 1.179 GB, free: 17.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/1.417, allocations: 1.463 MB / 1.181 GB, free: 16.85 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004502/1.422, allocations: 2.069 MB / 1.183 GB, free: 16.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/1.422, allocations: 169.5 kB / 1.183 GB, free: 16.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000465/1.422, allocations: 221.7 kB / 1.183 GB, free: 16.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006152/1.428, allocations: 3.032 MB / 1.186 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/1.428, allocations: 8.328 kB / 1.186 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002468/1.429, allocations: 97.34 kB / 1.186 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-05/1.429, allocations: 90.81 kB / 1.186 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006521/1.435, allocations: 3.105 MB / 1.189 GB, free: 15.89 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02091/1.456, allocations: 14.03 MB / 1.203 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003661/1.46, allocations: 1.654 MB / 1.205 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/1.462, allocations: 0.7665 MB / 1.205 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006697/1.462, allocations: 329.2 kB / 1.206 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/1.462, allocations: 49.97 kB / 1.206 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001769/1.464, allocations: 209.2 kB / 1.206 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 4.799e-06/1.464, allocations: 3.094 kB / 1.206 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=110): time 0.005433/1.47, allocations: 2.355 MB / 1.208 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.47, allocations: 65.47 kB / 1.208 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003359/1.473, allocations: 2.509 MB / 1.211 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001784/1.473, allocations: 62.39 kB / 1.211 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008338/1.474, allocations: 1.264 MB / 1.212 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/1.474, allocations: 394.7 kB / 1.212 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006354/1.475, allocations: 391.4 kB / 1.213 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.475, allocations: 308.8 kB / 1.213 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/1.477, allocations: 0.957 MB / 1.214 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/1.48, allocations: 1.585 MB / 1.215 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004227/1.484, allocations: 2.252 MB / 1.218 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/1.485, allocations: 6.406 kB / 1.218 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006174/1.491, allocations: 2.783 MB / 1.22 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.358e-05/1.491, allocations: 71.83 kB / 1.22 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.491, allocations: 14.97 kB / 1.22 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/1.491, allocations: 25.53 kB / 1.22 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/1.494, allocations: 0.559 MB / 1.221 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/1.495, allocations: 2.388 MB / 1.223 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/1.498, allocations: 292.9 kB / 1.224 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/1.499, allocations: 90.3 kB / 1.224 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003101/1.502, allocations: 1.389 MB / 1.225 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002776/1.504, allocations: 1.583 MB / 1.227 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004272/1.509, allocations: 2.242 MB / 1.229 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.594e-06/1.509, allocations: 5.562 kB / 1.229 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006119/1.515, allocations: 2.782 MB / 1.232 GB, free: 368 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/1.515, allocations: 79.72 kB / 1.232 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/1.515, allocations: 17.66 kB / 1.232 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.515, allocations: 26 kB / 1.232 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/1.517, allocations: 0.5053 MB / 1.232 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.704e-05/1.517, allocations: 32.97 kB / 1.232 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/1.521, allocations: 294.7 kB / 1.232 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/1.521, allocations: 93.52 kB / 1.233 GB, free: 268 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005759/1.521, allocations: 294.5 kB / 1.233 GB, free: 76 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004676/1.522, allocations: 263.3 kB / 1.233 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/1.526, allocations: 1.838 MB / 1.235 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/1.526, allocations: 6.656 kB / 1.235 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.526, allocations: 0 / 1.235 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009638/1.527, allocations: 0.5209 MB / 1.235 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003363/1.528, allocations: 22.38 kB / 1.235 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/1.53, allocations: 172.7 kB / 1.236 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.53, allocations: 58.98 kB / 1.236 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004417/1.534, allocations: 1.729 MB / 1.237 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005459/1.54, allocations: 2.797 MB / 1.24 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001511/1.541, allocations: 0.7197 MB / 1.241 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002581/1.544, allocations: 1.729 MB / 1.242 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of Backend: time 3.11e-07/1.544, allocations: 0 / 1.242 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.554, allocations: 3.935 MB / 1.246 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0089/1.563, allocations: 5.036 MB / 1.251 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of Templates: time 0.09858/1.662, allocations: 65.46 MB / 1.315 GB, free: 8.219 MB / 1.014 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)