Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001055/0.001055, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001027/0.001027, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 289.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9235/0.9235, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 95.86 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.373, allocations: 86.97 MB / 0.7671 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6269/0.9999, allocations: 328.4 MB / 1.088 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03654/1.037, allocations: 30.06 MB / 1.117 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00361/1.04, allocations: 100.7 kB / 1.117 GB, free: 1.832 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00538/1.046, allocations: 2.162 MB / 1.119 GB, free: 252 kB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01299/1.059, allocations: 5.192 MB / 1.124 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00867/1.067, allocations: 3.685 MB / 1.128 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009337/1.077, allocations: 6.962 MB / 1.135 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004683/1.081, allocations: 2.859 MB / 1.138 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01231/1.094, allocations: 5.473 MB / 1.143 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004289/1.098, allocations: 2.428 MB / 1.145 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0009562/1.099, allocations: 296 kB / 1.146 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009165/1.108, allocations: 4.821 MB / 1.15 GB, free: 456 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001502/1.11, allocations: 1.067 MB / 1.151 GB, free: 15.37 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002992/1.113, allocations: 1.742 MB / 1.153 GB, free: 13.62 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.009859/1.123, allocations: 5.749 MB / 1.159 GB, free: 7.859 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.123, allocations: 0 / 1.159 GB, free: 7.859 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.203e-06/1.123, allocations: 4 kB / 1.159 GB, free: 7.855 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000121/1.123, allocations: 0 / 1.159 GB, free: 7.855 MB / 0.795 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.00833/1.131, allocations: 3.7 MB / 1.162 GB, free: 4.07 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/1.131, allocations: 8.031 kB / 1.162 GB, free: 4.062 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0099/1.141, allocations: 1.468 MB / 1.164 GB, free: 2.59 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/1.145, allocations: 2.073 MB / 1.166 GB, free: 448 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/1.145, allocations: 172.1 kB / 1.166 GB, free: 272 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003973/1.146, allocations: 224 kB / 1.166 GB, free: 48 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00615/1.152, allocations: 3.035 MB / 1.169 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/1.152, allocations: 3.938 kB / 1.169 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002606/1.152, allocations: 88 kB / 1.169 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.227e-05/1.152, allocations: 88 kB / 1.169 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007058/1.159, allocations: 3.111 MB / 1.172 GB, free: 9.566 MB / 0.8106 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.02287/1.182, allocations: 14.01 MB / 1.186 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/1.186, allocations: 1.646 MB / 1.188 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/1.188, allocations: 0.7728 MB / 1.188 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006019/1.189, allocations: 320.2 kB / 1.189 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/1.189, allocations: 51.5 kB / 1.189 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001031/1.19, allocations: 198.1 kB / 1.189 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 4.568e-06/1.19, allocations: 0 / 1.189 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.006021/1.196, allocations: 2.363 MB / 1.191 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/1.196, allocations: 68.39 kB / 1.191 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004177/1.2, allocations: 2.517 MB / 1.194 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002075/1.2, allocations: 53.7 kB / 1.194 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009842/1.201, allocations: 1.268 MB / 1.195 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/1.202, allocations: 386.5 kB / 1.195 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000674/1.202, allocations: 379 kB / 1.196 GB, free: 324 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/1.203, allocations: 305.1 kB / 1.196 GB, free: 16 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002548/1.205, allocations: 0.9455 MB / 1.197 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002986/1.208, allocations: 1.569 MB / 1.198 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004627/1.213, allocations: 2.232 MB / 1.201 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/1.213, allocations: 4 kB / 1.201 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006511/1.219, allocations: 2.75 MB / 1.203 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.018e-05/1.219, allocations: 64.16 kB / 1.203 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/1.219, allocations: 16 kB / 1.203 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.468e-05/1.219, allocations: 27.98 kB / 1.203 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/1.222, allocations: 0.5498 MB / 1.204 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/1.224, allocations: 2.387 MB / 1.206 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/1.227, allocations: 282.9 kB / 1.207 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/1.227, allocations: 95.88 kB / 1.207 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003396/1.231, allocations: 1.382 MB / 1.208 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003179/1.234, allocations: 1.558 MB / 1.21 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004672/1.238, allocations: 2.225 MB / 1.212 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.199e-05/1.239, allocations: 4 kB / 1.212 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.006962/1.245, allocations: 2.739 MB / 1.214 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/1.246, allocations: 75.39 kB / 1.214 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/1.246, allocations: 12 kB / 1.214 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/1.246, allocations: 24 kB / 1.215 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/1.248, allocations: 0.5031 MB / 1.215 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.504e-05/1.248, allocations: 23.94 kB / 1.215 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/1.252, allocations: 292.2 kB / 1.215 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/1.252, allocations: 95.95 kB / 1.215 GB, free: 11.09 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (208): * Single equations (assignments): 202 * 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.0005268/1.252, allocations: 304.3 kB / 1.216 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006367/1.253, allocations: 256.8 kB / 1.216 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/1.258, allocations: 1.847 MB / 1.218 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/1.258, allocations: 3.984 kB / 1.218 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.258, allocations: 0 / 1.218 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/1.259, allocations: 0.5172 MB / 1.218 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005021/1.259, allocations: 24 kB / 1.218 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/1.262, allocations: 171.7 kB / 1.218 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.262, allocations: 56.86 kB / 1.218 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004833/1.267, allocations: 1.738 MB / 1.22 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005999/1.273, allocations: 2.802 MB / 1.223 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001637/1.274, allocations: 0.7183 MB / 1.224 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00321/1.278, allocations: 1.731 MB / 1.225 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of Backend: time 4.71e-07/1.278, allocations: 4 kB / 1.225 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.288, allocations: 3.896 MB / 1.229 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of SimCode: time 0.009703/1.298, allocations: 5.037 MB / 1.234 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of Templates: time 0.1021/1.4, allocations: 66.06 MB / 1.299 GB, free: 6.402 MB / 0.9356 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)