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.002585/0.002589, allocations: 358.9 kB / 16.59 MB, free: 5.566 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.473/1.473, allocations: 165.8 MB / 183.1 MB, free: 5.352 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.869/3.869, allocations: 410.7 MB / 0.6001 GB, free: 15.21 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.001783/0.001782, allocations: 203.8 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007315/0.0007316, allocations: 12 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4273, allocations: 67.45 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.8283/1.256, allocations: 291 MB / 1.093 GB, free: 5.699 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.05572/1.311, allocations: 29.26 MB / 1.121 GB, free: 8.379 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003937/1.315, allocations: 83.44 kB / 1.122 GB, free: 8.297 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.007013/1.322, allocations: 1.467 MB / 1.123 GB, free: 6.82 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.02002/1.342, allocations: 4.97 MB / 1.128 GB, free: 1.828 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01135/1.354, allocations: 2.544 MB / 1.13 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.01499/1.369, allocations: 8.101 MB / 1.138 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005697/1.375, allocations: 2.163 MB / 1.14 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01749/1.392, allocations: 3.497 MB / 1.144 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00876/1.401, allocations: 2.265 MB / 1.146 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001388/1.402, allocations: 132 kB / 1.146 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01272/1.415, allocations: 1.979 MB / 1.148 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00303/1.418, allocations: 0.8876 MB / 1.149 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002505/1.421, allocations: 0.6329 MB / 1.15 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01169/1.433, allocations: 3.636 MB / 1.153 GB, free: 7.902 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/1.433, allocations: 3.984 kB / 1.153 GB, free: 7.898 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.236e-06/1.433, allocations: 0 / 1.153 GB, free: 7.898 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001525/1.433, allocations: 0 / 1.153 GB, free: 7.898 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.01631/1.449, allocations: 2.984 MB / 1.156 GB, free: 4.832 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.36e-05/1.449, allocations: 12.03 kB / 1.156 GB, free: 4.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02274/1.472, allocations: 1.585 MB / 1.158 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006808/1.479, allocations: 1.903 MB / 1.159 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002639/1.482, allocations: 432.2 kB / 1.16 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009964/1.483, allocations: 220 kB / 1.16 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.383/1.866, allocations: 3.086 MB / 1.163 GB, free: 255.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.521e-05/1.866, allocations: 5.5 kB / 1.163 GB, free: 255.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004314/1.866, allocations: 87.75 kB / 1.163 GB, free: 255.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/1.866, allocations: 93.91 kB / 1.163 GB, free: 255.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/1.881, allocations: 3.205 MB / 1.166 GB, free: 254.4 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.03637/1.917, allocations: 14.3 MB / 1.18 GB, free: 243.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006883/1.924, allocations: 1.692 MB / 1.182 GB, free: 242.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00299/1.927, allocations: 0.7842 MB / 1.183 GB, free: 242.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000909/1.928, allocations: 341.8 kB / 1.183 GB, free: 242.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/1.928, allocations: 51.36 kB / 1.183 GB, free: 242.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001803/1.93, allocations: 198 kB / 1.183 GB, free: 242 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=110): time 5.039e-06/1.93, allocations: 3.906 kB / 1.183 GB, free: 242 MB / 0.6042 GB Notification: Performance of matching and sorting (n=110): time 0.009883/1.94, allocations: 2.406 MB / 1.186 GB, free: 240.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/1.94, allocations: 67.28 kB / 1.186 GB, free: 240.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005857/1.946, allocations: 2.536 MB / 1.188 GB, free: 239.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000413/1.946, allocations: 53.7 kB / 1.188 GB, free: 239.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/1.947, allocations: 1.266 MB / 1.189 GB, free: 237.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004736/1.948, allocations: 394.5 kB / 1.19 GB, free: 237.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/1.948, allocations: 39.47 kB / 1.19 GB, free: 237.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.948, allocations: 373.8 kB / 1.19 GB, free: 237 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004477/1.953, allocations: 0.9909 MB / 1.191 GB, free: 236 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005061/1.958, allocations: 1.641 MB / 1.193 GB, free: 234.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004931/1.963, allocations: 1.201 MB / 1.194 GB, free: 233 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/1.963, allocations: 8 kB / 1.194 GB, free: 233 MB / 0.6042 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01136/1.974, allocations: 2.884 MB / 1.197 GB, free: 230.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003322/1.975, allocations: 0.5476 MB / 1.197 GB, free: 229.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/1.975, allocations: 16 kB / 1.197 GB, free: 229.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.722e-05/1.975, allocations: 24 kB / 1.197 GB, free: 229.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005735/1.98, allocations: 0.5913 MB / 1.198 GB, free: 228.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/1.982, allocations: 2.395 MB / 1.2 GB, free: 226.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006799/1.989, allocations: 436.8 kB / 1.201 GB, free: 225.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005655/1.989, allocations: 91.89 kB / 1.201 GB, free: 225.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.989, allocations: 4 kB / 1.201 GB, free: 225.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01089/2, allocations: 2.648 MB / 1.203 GB, free: 223 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-05/2, allocations: 12 kB / 1.203 GB, free: 223 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/2, allocations: 24 kB / 1.203 GB, free: 223 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00481/2.005, allocations: 0.535 MB / 1.204 GB, free: 222.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.094e-05/2.005, allocations: 39.86 kB / 1.204 GB, free: 222.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005841/2.011, allocations: 373.7 kB / 1.204 GB, free: 222 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004974/2.011, allocations: 95.95 kB / 1.204 GB, free: 222 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.00169/2.013, allocations: 0.6206 MB / 1.205 GB, free: 221.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007038/2.014, allocations: 260.8 kB / 1.205 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007094/2.021, allocations: 1.89 MB / 1.207 GB, free: 219.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/2.021, allocations: 7.828 kB / 1.207 GB, free: 219.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/2.021, allocations: 0 / 1.207 GB, free: 219.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/2.023, allocations: 0.5327 MB / 1.208 GB, free: 218.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006512/2.024, allocations: 16 kB / 1.208 GB, free: 218.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004858/2.028, allocations: 279.6 kB / 1.208 GB, free: 218.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/2.029, allocations: 65.42 kB / 1.208 GB, free: 218.3 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008254/2.037, allocations: 1.784 MB / 1.21 GB, free: 216.5 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009932/2.047, allocations: 2.841 MB / 1.213 GB, free: 213.6 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002891/2.05, allocations: 0.7339 MB / 1.213 GB, free: 212.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00456/2.054, allocations: 1.743 MB / 1.215 GB, free: 211.1 MB / 0.6042 GB Notification: Performance of Backend: time 1.102e-06/2.055, allocations: 0 / 1.215 GB, free: 211.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01583/2.07, allocations: 3.812 MB / 1.219 GB, free: 207.4 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0159/2.086, allocations: 5.828 MB / 1.224 GB, free: 201.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.1352/2.222, allocations: 60.29 MB / 1.283 GB, free: 141.7 MB / 0.6042 GB