Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002392/0.002392, allocations: 353.5 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.435/1.435, allocations: 165.8 MB / 182.5 MB, free: 5.426 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.715/3.715, allocations: 410.8 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001727/0.001727, allocations: 187.4 kB / 0.6662 GB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004667, allocations: 15.94 kB / 0.7423 GB, free: 9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3311, allocations: 67.45 MB / 0.8081 GB, free: 28.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7649/1.096, allocations: 291 MB / 1.092 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.04908/1.145, allocations: 29.25 MB / 1.121 GB, free: 8.504 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003704/1.149, allocations: 83.44 kB / 1.121 GB, free: 8.422 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.005697/1.155, allocations: 1.475 MB / 1.122 GB, free: 6.938 MB / 0.573 GB [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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.0173/1.172, allocations: 4.964 MB / 1.127 GB, free: 1.953 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0099/1.182, allocations: 2.546 MB / 1.13 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.01294/1.195, allocations: 8.113 MB / 1.138 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004774/1.2, allocations: 2.156 MB / 1.14 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01021/1.21, allocations: 3.501 MB / 1.143 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00494/1.215, allocations: 2.261 MB / 1.145 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007883/1.216, allocations: 136 kB / 1.146 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006929/1.223, allocations: 1.975 MB / 1.147 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001839/1.225, allocations: 0.8876 MB / 1.148 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001484/1.226, allocations: 0.629 MB / 1.149 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006917/1.233, allocations: 3.64 MB / 1.152 GB, free: 8.023 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.233, allocations: 0 / 1.152 GB, free: 8.023 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.337e-06/1.233, allocations: 0 / 1.152 GB, free: 8.023 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.461e-05/1.233, allocations: 4 kB / 1.152 GB, free: 8.02 MB / 0.6042 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.008223/1.241, allocations: 2.986 MB / 1.155 GB, free: 4.953 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/1.241, allocations: 12.03 kB / 1.155 GB, free: 4.941 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/1.253, allocations: 1.588 MB / 1.157 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005533/1.259, allocations: 1.903 MB / 1.159 GB, free: 1.367 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001551/1.26, allocations: 424.2 kB / 1.159 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006895/1.261, allocations: 224 kB / 1.159 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3204/1.582, allocations: 3.086 MB / 1.162 GB, free: 255.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/1.582, allocations: 7.281 kB / 1.162 GB, free: 255.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003337/1.582, allocations: 92.42 kB / 1.163 GB, free: 255.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/1.582, allocations: 90.38 kB / 1.163 GB, free: 255.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/1.592, allocations: 3.204 MB / 1.166 GB, free: 254.7 MB / 0.6042 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.02719/1.62, allocations: 14.3 MB / 1.18 GB, free: 244.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005114/1.625, allocations: 1.682 MB / 1.181 GB, free: 243.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/1.627, allocations: 0.7975 MB / 1.182 GB, free: 242.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006549/1.628, allocations: 334.1 kB / 1.182 GB, free: 242.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/1.628, allocations: 55.2 kB / 1.183 GB, free: 242.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001507/1.629, allocations: 197.9 kB / 1.183 GB, free: 242.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=110): time 5.374e-06/1.63, allocations: 2.391 kB / 1.183 GB, free: 242.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=110): time 0.007603/1.637, allocations: 2.409 MB / 1.185 GB, free: 241.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/1.637, allocations: 72.09 kB / 1.185 GB, free: 241.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004678/1.642, allocations: 2.526 MB / 1.188 GB, free: 239.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003183/1.642, allocations: 57.7 kB / 1.188 GB, free: 239.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000954/1.643, allocations: 1.27 MB / 1.189 GB, free: 238.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004112/1.644, allocations: 394.2 kB / 1.189 GB, free: 238.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/1.644, allocations: 36 kB / 1.189 GB, free: 238.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.644, allocations: 373.9 kB / 1.19 GB, free: 237.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002993/1.647, allocations: 0.9943 MB / 1.191 GB, free: 236.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003379/1.65, allocations: 1.635 MB / 1.192 GB, free: 234.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/1.654, allocations: 1.205 MB / 1.193 GB, free: 233.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/1.654, allocations: 8 kB / 1.193 GB, free: 233.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007799/1.661, allocations: 2.876 MB / 1.196 GB, free: 230.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/1.662, allocations: 0.5548 MB / 1.197 GB, free: 230.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/1.662, allocations: 15.98 kB / 1.197 GB, free: 230 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.72e-05/1.662, allocations: 24 kB / 1.197 GB, free: 230 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003581/1.665, allocations: 0.5878 MB / 1.197 GB, free: 229.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/1.667, allocations: 2.391 MB / 1.2 GB, free: 226.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004388/1.671, allocations: 439.7 kB / 1.2 GB, free: 226.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003401/1.671, allocations: 93.2 kB / 1.2 GB, free: 226.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/1.671, allocations: 4 kB / 1.2 GB, free: 226.4 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007011/1.678, allocations: 2.649 MB / 1.203 GB, free: 223.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/1.678, allocations: 12 kB / 1.203 GB, free: 223.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/1.678, allocations: 24 kB / 1.203 GB, free: 223.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/1.681, allocations: 0.531 MB / 1.203 GB, free: 223.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.163e-05/1.682, allocations: 43.84 kB / 1.203 GB, free: 223.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003704/1.685, allocations: 371.9 kB / 1.204 GB, free: 222.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/1.686, allocations: 87.95 kB / 1.204 GB, free: 222.7 MB / 0.6042 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 (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.001389/1.687, allocations: 0.6332 MB / 1.204 GB, free: 222.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000549/1.688, allocations: 260.8 kB / 1.205 GB, free: 221.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005022/1.693, allocations: 1.878 MB / 1.207 GB, free: 219.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.693, allocations: 8 kB / 1.207 GB, free: 219.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.55e-06/1.693, allocations: 0 / 1.207 GB, free: 219.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/1.693, allocations: 3.984 kB / 1.207 GB, free: 219.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/1.703, allocations: 4.539 MB / 1.211 GB, free: 215.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/1.703, allocations: 4 kB / 1.211 GB, free: 215.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002064/1.705, allocations: 313 kB / 1.211 GB, free: 214.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.785e-05/1.705, allocations: 12 kB / 1.211 GB, free: 214.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/1.705, allocations: 39.77 kB / 1.211 GB, free: 214.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008886/1.706, allocations: 2.375 MB / 1.214 GB, free: 212.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/1.706, allocations: 8 kB / 1.214 GB, free: 212.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004771/1.711, allocations: 2.007 MB / 1.216 GB, free: 210.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/1.713, allocations: 0.5406 MB / 1.216 GB, free: 209.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005234/1.713, allocations: 20 kB / 1.216 GB, free: 209.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0033/1.716, allocations: 287.5 kB / 1.216 GB, free: 209.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/1.717, allocations: 84.8 kB / 1.217 GB, free: 209.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.717, allocations: 59.95 kB / 1.217 GB, free: 209.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00367/1.721, allocations: 1.747 MB / 1.218 GB, free: 207.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.134e-06/1.721, allocations: 0 / 1.218 GB, free: 207.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004482/1.725, allocations: 1.292 MB / 1.22 GB, free: 206.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008558/1.726, allocations: 379.5 kB / 1.22 GB, free: 205.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01032/1.736, allocations: 3.698 MB / 1.224 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/1.737, allocations: 0 / 1.224 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00238/1.739, allocations: 0.8282 MB / 1.224 GB, free: 201.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007032/1.746, allocations: 1.223 MB / 1.226 GB, free: 200.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009122/1.755, allocations: 5.027 MB / 1.23 GB, free: 195 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/1.757, allocations: 1.74 MB / 1.232 GB, free: 193.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00559/1.762, allocations: 0.7818 MB / 1.233 GB, free: 192.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.763, allocations: 203.4 kB / 1.233 GB, free: 192.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.077e-06/1.763, allocations: 0 / 1.233 GB, free: 192.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.0895/1.853, allocations: 44.48 MB / 1.277 GB, free: 148.3 MB / 0.6042 GB