Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.101/2.101, 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.00127/0.001269, allocations: 178.4 kB / 326.3 MB, free: 2.852 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.433/2.433, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.001236/0.001236, allocations: 83.86 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.000454, allocations: 17.97 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1886, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.024/1.213, allocations: 300.9 MB / 1.193 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.05131/1.264, allocations: 27.97 MB / 1.221 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004413/1.269, allocations: 83.44 kB / 1.221 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.006718/1.276, allocations: 1.331 MB / 1.222 GB, free: 10.02 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01785/1.294, allocations: 3.924 MB / 1.226 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01166/1.305, allocations: 2.583 MB / 1.228 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01544/1.321, allocations: 8.379 MB / 1.237 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005801/1.327, allocations: 2.269 MB / 1.239 GB, free: 8.801 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01425/1.341, allocations: 3.957 MB / 1.243 GB, free: 4.828 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0064/1.347, allocations: 2.386 MB / 1.245 GB, free: 2.434 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0009507/1.348, allocations: 128 kB / 1.245 GB, free: 2.309 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/1.359, allocations: 2.685 MB / 1.248 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002251/1.362, allocations: 0.9071 MB / 1.249 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001678/1.363, allocations: 0.629 MB / 1.249 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.009052/1.372, allocations: 3.94 MB / 1.253 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1.372, allocations: 0 / 1.253 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.765e-06/1.372, allocations: 4 kB / 1.253 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001347/1.373, allocations: 0 / 1.253 GB, free: 10.12 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 544 * Number of variables: 544 Notification: Performance of Generate backend data structure: time 0.01109/1.384, allocations: 3.062 MB / 1.256 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/1.384, allocations: 8.031 kB / 1.256 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/1.402, allocations: 1.577 MB / 1.258 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006699/1.409, allocations: 1.891 MB / 1.259 GB, free: 3.445 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002548/1.411, allocations: 435.9 kB / 1.26 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007442/1.412, allocations: 220 kB / 1.26 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/1.423, allocations: 3.118 MB / 1.263 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.312e-05/1.423, allocations: 11.88 kB / 1.263 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000493/1.424, allocations: 92 kB / 1.263 GB, free: 15.44 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/1.424, allocations: 92.06 kB / 1.263 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/1.438, allocations: 3.205 MB / 1.266 GB, free: 12.12 MB / 0.7917 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.05498/1.493, allocations: 14.28 MB / 1.28 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/1.505, allocations: 1.68 MB / 1.282 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004809/1.51, allocations: 0.7895 MB / 1.283 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001524/1.511, allocations: 337.1 kB / 1.283 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.057e-05/1.511, allocations: 63.44 kB / 1.283 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002623/1.514, allocations: 202 kB / 1.283 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=110): time 7.464e-06/1.514, allocations: 0 / 1.283 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of matching and sorting (n=110): time 0.01684/1.531, allocations: 2.403 MB / 1.286 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/1.531, allocations: 60.41 kB / 1.286 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/1.542, allocations: 2.507 MB / 1.288 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0006102/1.542, allocations: 57.7 kB / 1.288 GB, free: 4.527 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002311/1.545, allocations: 1.241 MB / 1.29 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.546, allocations: 402.3 kB / 1.29 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003919/1.546, allocations: 36 kB / 1.29 GB, free: 2.836 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003234/1.547, allocations: 369.9 kB / 1.29 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007749/1.554, allocations: 0.9914 MB / 1.291 GB, free: 1.477 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009078/1.563, allocations: 1.575 MB / 1.293 GB, free: 15.65 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008435/1.572, allocations: 1.188 MB / 1.294 GB, free: 14.45 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.391e-05/1.572, allocations: 7.938 kB / 1.294 GB, free: 14.44 MB / 0.823 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.0197/1.592, allocations: 2.875 MB / 1.297 GB, free: 11.54 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007843/1.593, allocations: 0.5747 MB / 1.297 GB, free: 10.76 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.714e-05/1.593, allocations: 20 kB / 1.297 GB, free: 10.74 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.428e-05/1.593, allocations: 24 kB / 1.297 GB, free: 10.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009324/1.602, allocations: 0.5812 MB / 1.298 GB, free: 10.13 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/1.605, allocations: 2.403 MB / 1.3 GB, free: 7.637 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01077/1.616, allocations: 451.4 kB / 1.301 GB, free: 7.195 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007929/1.617, allocations: 91.95 kB / 1.301 GB, free: 7.105 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/1.617, allocations: 4 kB / 1.301 GB, free: 7.102 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01897/1.636, allocations: 2.643 MB / 1.303 GB, free: 4.445 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.408e-05/1.636, allocations: 16 kB / 1.303 GB, free: 4.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.509e-05/1.636, allocations: 20 kB / 1.303 GB, free: 4.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007973/1.644, allocations: 0.5385 MB / 1.304 GB, free: 3.871 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.123e-05/1.644, allocations: 27.88 kB / 1.304 GB, free: 3.844 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009143/1.653, allocations: 384.8 kB / 1.304 GB, free: 3.469 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000948/1.654, allocations: 91.94 kB / 1.304 GB, free: 3.379 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003118/1.657, allocations: 0.6371 MB / 1.305 GB, free: 2.73 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.659, allocations: 256.8 kB / 1.305 GB, free: 2.477 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/1.671, allocations: 1.878 MB / 1.307 GB, free: 0.582 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.663e-05/1.671, allocations: 3.984 kB / 1.307 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.671, allocations: 0 / 1.307 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003042/1.675, allocations: 0.5444 MB / 1.308 GB, free: 12 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001196/1.676, allocations: 20.08 kB / 1.308 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008396/1.684, allocations: 302.5 kB / 1.308 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/1.685, allocations: 52.92 kB / 1.308 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01398/1.699, allocations: 1.789 MB / 1.31 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01233/1.711, allocations: 2.833 MB / 1.313 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003188/1.714, allocations: 0.73 MB / 1.313 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.005346/1.72, allocations: 1.734 MB / 1.315 GB, free: 8.52 MB / 0.8386 GB Notification: Performance of Backend: time 1.052e-06/1.72, allocations: 0 / 1.315 GB, free: 8.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01821/1.738, allocations: 3.986 MB / 1.319 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of SimCode: time 0.0181/1.756, allocations: 5.833 MB / 1.325 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of Templates: time 0.1652/1.921, allocations: 63.35 MB / 1.386 GB, free: 15.64 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)