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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4717/0.4717, allocations: 87.5 MB / 104.9 MB, free: 13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 349.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 112.8 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 51.92 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.355, allocations: 70.06 MB / 0.5575 GB, free: 44.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6388/0.9939, allocations: 326.4 MB / 0.8762 GB, free: 15 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.04059/1.035, allocations: 30.25 MB / 0.9058 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005182/1.04, allocations: 91.44 kB / 0.9059 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.006774/1.047, allocations: 1.761 MB / 0.9076 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01497/1.062, allocations: 4.679 MB / 0.9121 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01018/1.072, allocations: 3.358 MB / 0.9154 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01276/1.085, allocations: 9.651 MB / 0.9248 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004493/1.089, allocations: 2.436 MB / 0.9272 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01495/1.104, allocations: 4.791 MB / 0.9319 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006182/1.11, allocations: 2.479 MB / 0.9343 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0009968/1.111, allocations: 164 kB / 0.9345 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/1.123, allocations: 5.611 MB / 0.94 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002664/1.125, allocations: 0.95 MB / 0.9409 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004849/1.13, allocations: 1.609 MB / 0.9425 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01259/1.143, allocations: 5.908 MB / 0.9482 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/1.143, allocations: 0 / 0.9482 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.124e-06/1.143, allocations: 0 / 0.9482 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001204/1.143, allocations: 0 / 0.9482 GB, free: 5.059 MB / 0.6511 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.007989/1.151, allocations: 3.704 MB / 0.9519 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.151, allocations: 12.03 kB / 0.9519 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/1.162, allocations: 1.468 MB / 0.9533 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004748/1.166, allocations: 1.98 MB / 0.9552 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001368/1.168, allocations: 395.8 kB / 0.9556 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005385/1.168, allocations: 223.9 kB / 0.9558 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006613/1.175, allocations: 3.066 MB / 0.9588 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/1.175, allocations: 7.938 kB / 0.9588 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002547/1.175, allocations: 91.94 kB / 0.9589 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-05/1.175, allocations: 95.94 kB / 0.959 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007432/1.183, allocations: 3.142 MB / 0.9621 GB, free: 6.555 MB / 0.6667 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.3124/1.495, allocations: 14.08 MB / 0.9758 GB, free: 294.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004225/1.499, allocations: 1.651 MB / 0.9774 GB, free: 293.8 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/1.501, allocations: 0.7761 MB / 0.9782 GB, free: 293.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005229/1.502, allocations: 321.6 kB / 0.9785 GB, free: 293.3 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/1.502, allocations: 52.88 kB / 0.9786 GB, free: 293.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001174/1.503, allocations: 196.7 kB / 0.9787 GB, free: 293.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=110): time 3.216e-06/1.503, allocations: 0 / 0.9787 GB, free: 293.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=110): time 0.005163/1.508, allocations: 2.358 MB / 0.981 GB, free: 292.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/1.508, allocations: 67.75 kB / 0.9811 GB, free: 292.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003394/1.512, allocations: 2.542 MB / 0.9836 GB, free: 291.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002337/1.512, allocations: 53.61 kB / 0.9836 GB, free: 291.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006385/1.513, allocations: 1.279 MB / 0.9849 GB, free: 290.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/1.513, allocations: 381.6 kB / 0.9853 GB, free: 289.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005638/1.513, allocations: 399.3 kB / 0.9856 GB, free: 289.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 4.291e-05/1.513, allocations: 305.1 kB / 0.9859 GB, free: 289.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/1.516, allocations: 0.9739 MB / 0.9869 GB, free: 288.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/1.518, allocations: 1.605 MB / 0.9884 GB, free: 287.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004412/1.523, allocations: 2.274 MB / 0.9907 GB, free: 286.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/1.523, allocations: 3.125 kB / 0.9907 GB, free: 286.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006268/1.529, allocations: 2.822 MB / 0.9934 GB, free: 284.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.355e-05/1.529, allocations: 73.75 kB / 0.9935 GB, free: 284.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/1.529, allocations: 10.69 kB / 0.9935 GB, free: 284.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/1.529, allocations: 26.12 kB / 0.9935 GB, free: 284.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002754/1.532, allocations: 0.5675 MB / 0.9941 GB, free: 284.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007906/1.533, allocations: 2.392 MB / 0.9964 GB, free: 282.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003491/1.536, allocations: 402.8 kB / 0.9968 GB, free: 282 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/1.537, allocations: 91.95 kB / 0.9969 GB, free: 281.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003658/1.54, allocations: 1.419 MB / 0.9983 GB, free: 280.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004256/1.545, allocations: 1.609 MB / 0.9998 GB, free: 278.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006809/1.551, allocations: 2.261 MB / 1.002 GB, free: 276.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-05/1.551, allocations: 4 kB / 1.002 GB, free: 276.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.009993/1.561, allocations: 2.824 MB / 1.005 GB, free: 273.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.968e-05/1.562, allocations: 75.39 kB / 1.005 GB, free: 273.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/1.562, allocations: 16.88 kB / 1.005 GB, free: 273.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/1.562, allocations: 20 kB / 1.005 GB, free: 273.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003758/1.565, allocations: 0.5187 MB / 1.005 GB, free: 272.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.646e-05/1.565, allocations: 33.36 kB / 1.005 GB, free: 272.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005683/1.571, allocations: 401.8 kB / 1.006 GB, free: 272.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003019/1.571, allocations: 91.95 kB / 1.006 GB, free: 272.2 MB / 0.6667 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 (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 (214): * Single equations (assignments): 208 * 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.0006336/1.572, allocations: 302.3 kB / 1.006 GB, free: 271.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006988/1.573, allocations: 264.4 kB / 1.006 GB, free: 271.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006211/1.579, allocations: 1.847 MB / 1.008 GB, free: 269.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/1.579, allocations: 8 kB / 1.008 GB, free: 269.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.579, allocations: 0 / 1.008 GB, free: 269.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/1.579, allocations: 7.984 kB / 1.008 GB, free: 269.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/1.59, allocations: 4.494 MB / 1.013 GB, free: 265.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.59, allocations: 8 kB / 1.013 GB, free: 265.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.592, allocations: 302.5 kB / 1.013 GB, free: 264.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/1.592, allocations: 15.75 kB / 1.013 GB, free: 264.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/1.592, allocations: 27.98 kB / 1.013 GB, free: 264.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00084/1.593, allocations: 2.371 MB / 1.015 GB, free: 262.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.593, allocations: 11.83 kB / 1.015 GB, free: 262.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009766/1.603, allocations: 3.905 MB / 1.019 GB, free: 258.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/1.605, allocations: 0.5212 MB / 1.02 GB, free: 257.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006264/1.605, allocations: 24 kB / 1.02 GB, free: 257.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0042/1.61, allocations: 265.9 kB / 1.02 GB, free: 257.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/1.61, allocations: 92.66 kB / 1.02 GB, free: 257.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002569/1.61, allocations: 59.95 kB / 1.02 GB, free: 257.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.004338/1.615, allocations: 1.755 MB / 1.022 GB, free: 255.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.81e-07/1.615, allocations: 0 / 1.022 GB, free: 255.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.006008/1.621, allocations: 1.31 MB / 1.023 GB, free: 254.3 MB / 0.6667 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.00099/1.622, allocations: 370.8 kB / 1.023 GB, free: 253.9 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01269/1.634, allocations: 3.611 MB / 1.027 GB, free: 250.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.669e-05/1.634, allocations: 0 / 1.027 GB, free: 250.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002821/1.637, allocations: 0.8124 MB / 1.028 GB, free: 249.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01031/1.648, allocations: 1.213 MB / 1.029 GB, free: 248.3 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/1.658, allocations: 5.761 MB / 1.035 GB, free: 242.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/1.66, allocations: 1.724 MB / 1.036 GB, free: 240.7 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.006349/1.666, allocations: 0.7876 MB / 1.037 GB, free: 239.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009874/1.667, allocations: 199.4 kB / 1.037 GB, free: 239.7 MB / 0.6667 GB Notification: Performance of SimCode: time 1.183e-06/1.667, allocations: 3.938 kB / 1.037 GB, free: 239.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.09877/1.766, allocations: 47.43 MB / 1.084 GB, free: 192.8 MB / 0.6667 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (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)