Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 114.2 kB / 17.33 MB, free: 5.008 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.001258/0.001258, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.541/1.541, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8689/0.8689, allocations: 128.4 MB / 426.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 68.11 kB / 0.5912 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1922, allocations: 83.27 MB / 0.6725 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7883/0.9805, allocations: 329.9 MB / 0.9946 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0455/1.026, allocations: 30.16 MB / 1.024 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005021/1.031, allocations: 103.4 kB / 1.024 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.007045/1.038, allocations: 2.183 MB / 1.026 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01677/1.055, allocations: 5.152 MB / 1.031 GB, free: 11.92 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01229/1.067, allocations: 3.695 MB / 1.035 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01418/1.081, allocations: 6.905 MB / 1.042 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005356/1.087, allocations: 2.426 MB / 1.044 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01786/1.104, allocations: 5.615 MB / 1.05 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006243/1.111, allocations: 2.522 MB / 1.052 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001162/1.112, allocations: 300 kB / 1.052 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01195/1.124, allocations: 5.078 MB / 1.057 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002153/1.126, allocations: 1.098 MB / 1.058 GB, free: 232 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003296/1.129, allocations: 1.742 MB / 1.06 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01301/1.142, allocations: 5.805 MB / 1.066 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.142, allocations: 0 / 1.066 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/1.142, allocations: 0 / 1.066 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001112/1.142, allocations: 0 / 1.066 GB, free: 8.652 MB / 0.8262 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.008748/1.151, allocations: 3.777 MB / 1.069 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.151, allocations: 8.031 kB / 1.069 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009473/1.161, allocations: 1.188 MB / 1.071 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005174/1.166, allocations: 2.102 MB / 1.073 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/1.166, allocations: 180.1 kB / 1.073 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006369/1.167, allocations: 216 kB / 1.073 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3612/1.528, allocations: 2.978 MB / 1.076 GB, free: 327.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.608e-05/1.528, allocations: 1.281 kB / 1.076 GB, free: 327.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/1.528, allocations: 88.41 kB / 1.076 GB, free: 327.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.924e-05/1.528, allocations: 93 kB / 1.076 GB, free: 327.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006721/1.535, allocations: 3.101 MB / 1.079 GB, free: 326.7 MB / 0.8262 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.02354/1.559, allocations: 13.15 MB / 1.092 GB, free: 318.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/1.563, allocations: 1.618 MB / 1.094 GB, free: 317.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/1.564, allocations: 0.791 MB / 1.094 GB, free: 317.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005581/1.565, allocations: 327.3 kB / 1.095 GB, free: 317.2 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/1.565, allocations: 50.84 kB / 1.095 GB, free: 317.2 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002234/1.567, allocations: 418.2 kB / 1.095 GB, free: 317.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 5.58e-06/1.567, allocations: 0 / 1.095 GB, free: 317.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.006033/1.573, allocations: 2.576 MB / 1.098 GB, free: 316.3 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/1.573, allocations: 63.62 kB / 1.098 GB, free: 316.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003707/1.577, allocations: 2.51 MB / 1.1 GB, free: 315 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003061/1.577, allocations: 58.2 kB / 1.1 GB, free: 314.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007483/1.578, allocations: 1.293 MB / 1.101 GB, free: 313.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/1.578, allocations: 410.2 kB / 1.102 GB, free: 313.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006422/1.579, allocations: 413.4 kB / 1.102 GB, free: 313.2 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 4.381e-05/1.579, allocations: 304.2 kB / 1.102 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002251/1.581, allocations: 1.003 MB / 1.103 GB, free: 312.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/1.584, allocations: 1.62 MB / 1.105 GB, free: 311.2 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/1.588, allocations: 2.35 MB / 1.107 GB, free: 309.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/1.588, allocations: 2.75 kB / 1.107 GB, free: 309.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006023/1.594, allocations: 2.902 MB / 1.11 GB, free: 308.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/1.594, allocations: 79.08 kB / 1.11 GB, free: 308.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/1.594, allocations: 11.91 kB / 1.11 GB, free: 308.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.498e-05/1.594, allocations: 21.53 kB / 1.11 GB, free: 308.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/1.597, allocations: 0.5751 MB / 1.111 GB, free: 308.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000774/1.597, allocations: 2.382 MB / 1.113 GB, free: 305.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003303/1.601, allocations: 289.2 kB / 1.113 GB, free: 305.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/1.601, allocations: 102.6 kB / 1.114 GB, free: 305.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002797/1.604, allocations: 1.441 MB / 1.115 GB, free: 304.8 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002335/1.606, allocations: 1.62 MB / 1.117 GB, free: 303.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003719/1.61, allocations: 2.334 MB / 1.119 GB, free: 301.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.376e-06/1.61, allocations: 3.938 kB / 1.119 GB, free: 301.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.005684/1.616, allocations: 2.898 MB / 1.122 GB, free: 300.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/1.616, allocations: 75.56 kB / 1.122 GB, free: 300.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.616, allocations: 14.22 kB / 1.122 GB, free: 300.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.616, allocations: 23.7 kB / 1.122 GB, free: 300.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/1.618, allocations: 0.5192 MB / 1.122 GB, free: 300.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.094e-05/1.618, allocations: 29.33 kB / 1.122 GB, free: 300.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/1.621, allocations: 294.1 kB / 1.123 GB, free: 300.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/1.622, allocations: 101.5 kB / 1.123 GB, free: 300.1 MB / 0.8262 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.0005706/1.622, allocations: 297 kB / 1.123 GB, free: 299.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005492/1.623, allocations: 276.2 kB / 1.123 GB, free: 299.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/1.627, allocations: 1.995 MB / 1.125 GB, free: 297.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.627, allocations: 12 kB / 1.125 GB, free: 297.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.627, allocations: 0 / 1.125 GB, free: 297.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.627, allocations: 7.969 kB / 1.125 GB, free: 297.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007128/1.634, allocations: 4.593 MB / 1.13 GB, free: 293.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.634, allocations: 8.906 kB / 1.13 GB, free: 293.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.635, allocations: 306.8 kB / 1.13 GB, free: 292.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/1.635, allocations: 11.98 kB / 1.13 GB, free: 292.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.301e-05/1.635, allocations: 35.92 kB / 1.13 GB, free: 292.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006832/1.636, allocations: 2.364 MB / 1.132 GB, free: 290.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.636, allocations: 11.94 kB / 1.132 GB, free: 290.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003661/1.64, allocations: 2.051 MB / 1.134 GB, free: 288.1 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.641, allocations: 0.5421 MB / 1.135 GB, free: 287.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00072/1.642, allocations: 35.94 kB / 1.135 GB, free: 287.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/1.644, allocations: 173.1 kB / 1.135 GB, free: 287.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/1.644, allocations: 80.78 kB / 1.135 GB, free: 287.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.645, allocations: 63.95 kB / 1.135 GB, free: 287.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002812/1.647, allocations: 1.739 MB / 1.137 GB, free: 285.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/1.647, allocations: 0 / 1.137 GB, free: 285.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003476/1.651, allocations: 1.311 MB / 1.138 GB, free: 284.2 MB / 0.8262 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 (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 Backend phase and start with SimCode phase: time 0.0007184/1.652, allocations: 386.5 kB / 1.139 GB, free: 283.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.007295/1.659, allocations: 3.569 MB / 1.142 GB, free: 280.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.659, allocations: 0 / 1.142 GB, free: 280.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/1.661, allocations: 0.815 MB / 1.143 GB, free: 279.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00505/1.666, allocations: 1.199 MB / 1.144 GB, free: 278.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006421/1.672, allocations: 4.366 MB / 1.148 GB, free: 273.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008266/1.673, allocations: 1.697 MB / 1.15 GB, free: 272.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002961/1.676, allocations: 0.8173 MB / 1.151 GB, free: 271.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006153/1.676, allocations: 211.3 kB / 1.151 GB, free: 271 MB / 0.8262 GB Notification: Performance of SimCode: time 1.222e-06/1.676, allocations: 4 kB / 1.151 GB, free: 271 MB / 0.8262 GB Notification: Performance of Templates: time 0.08904/1.766, allocations: 48.79 MB / 1.199 GB, free: 222.8 MB / 0.8262 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) [Timeout 480]