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) 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/Modelica 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) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001588, allocations: 179.7 kB / 16.92 MB, free: 6.645 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.468/1.468, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7343/0.7343, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 12 kB / 0.4933 GB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4535, allocations: 79.28 MB / 0.5707 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7643/1.218, allocations: 321.9 MB / 0.8851 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0348/1.253, allocations: 29.91 MB / 0.9143 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00546/1.258, allocations: 84.16 kB / 0.9144 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005873/1.264, allocations: 1.764 MB / 0.9161 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01479/1.279, allocations: 4.698 MB / 0.9207 GB, free: 1 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01089/1.29, allocations: 3.349 MB / 0.9239 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01367/1.303, allocations: 9.677 MB / 0.9334 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005121/1.309, allocations: 2.359 MB / 0.9357 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01594/1.325, allocations: 4.681 MB / 0.9403 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006829/1.331, allocations: 2.397 MB / 0.9426 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001481/1.333, allocations: 128.2 kB / 0.9427 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01296/1.346, allocations: 5.588 MB / 0.9482 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002272/1.348, allocations: 0.9004 MB / 0.9491 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004524/1.353, allocations: 1.563 MB / 0.9506 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01497/1.368, allocations: 5.812 MB / 0.9563 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.368, allocations: 0 / 0.9563 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.595e-06/1.368, allocations: 0 / 0.9563 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002189/1.368, allocations: 0 / 0.9563 GB, free: 4.152 MB / 0.6544 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.009122/1.377, allocations: 3.063 MB / 0.9593 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.377, allocations: 12.03 kB / 0.9593 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/1.388, allocations: 1.577 MB / 0.9608 GB, free: 15.46 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005322/1.393, allocations: 1.99 MB / 0.9627 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001457/1.394, allocations: 428.2 kB / 0.9632 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009328/1.395, allocations: 219.9 kB / 0.9634 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008859/1.404, allocations: 3.107 MB / 0.9664 GB, free: 9.625 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.705e-05/1.404, allocations: 2.812 kB / 0.9664 GB, free: 9.625 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004511/1.405, allocations: 92 kB / 0.9665 GB, free: 9.535 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/1.405, allocations: 96 kB / 0.9666 GB, free: 9.438 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008152/1.413, allocations: 3.221 MB / 0.9697 GB, free: 6.219 MB / 0.67 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.02702/1.44, allocations: 14.29 MB / 0.9837 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004397/1.445, allocations: 1.691 MB / 0.9853 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/1.447, allocations: 0.7919 MB / 0.9861 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006659/1.447, allocations: 341.4 kB / 0.9864 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/1.447, allocations: 55.5 kB / 0.9865 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001411/1.449, allocations: 195 kB / 0.9867 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 5.931e-06/1.449, allocations: 0 / 0.9867 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of matching and sorting (n=110): time 0.006224/1.455, allocations: 2.418 MB / 0.989 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/1.455, allocations: 67.31 kB / 0.9891 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00517/1.46, allocations: 2.56 MB / 0.9916 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002843/1.461, allocations: 53.7 kB / 0.9916 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.462, allocations: 1.267 MB / 0.9929 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/1.462, allocations: 392.7 kB / 0.9933 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/1.462, allocations: 133.6 kB / 0.9934 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.463, allocations: 301.1 kB / 0.9937 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002885/1.465, allocations: 0.9993 MB / 0.9946 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003868/1.469, allocations: 1.625 MB / 0.9962 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005841/1.475, allocations: 2.299 MB / 0.9985 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.259e-05/1.475, allocations: 4 kB / 0.9985 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.007621/1.483, allocations: 2.863 MB / 1.001 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004647/1.483, allocations: 0.5429 MB / 1.002 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/1.483, allocations: 16 kB / 1.002 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.339e-05/1.484, allocations: 20 kB / 1.002 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/1.487, allocations: 0.5783 MB / 1.002 GB, free: 3.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/1.488, allocations: 2.395 MB / 1.005 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/1.492, allocations: 439.6 kB / 1.005 GB, free: 356 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/1.493, allocations: 91.95 kB / 1.005 GB, free: 264 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/1.493, allocations: 4 kB / 1.005 GB, free: 260 kB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00635/1.499, allocations: 2.627 MB / 1.008 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/1.499, allocations: 15.94 kB / 1.008 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.499, allocations: 20 kB / 1.008 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/1.502, allocations: 0.5292 MB / 1.008 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.725e-05/1.502, allocations: 34 kB / 1.008 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/1.505, allocations: 371.4 kB / 1.009 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/1.505, allocations: 83.97 kB / 1.009 GB, free: 12.69 MB / 0.7169 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.001373/1.507, allocations: 0.6269 MB / 1.009 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007218/1.507, allocations: 256.8 kB / 1.01 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004731/1.512, allocations: 1.89 MB / 1.012 GB, free: 9.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/1.512, allocations: 8 kB / 1.012 GB, free: 9.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/1.512, allocations: 7.984 kB / 1.012 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/1.512, allocations: 3.984 kB / 1.012 GB, free: 9.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009182/1.521, allocations: 4.532 MB / 1.016 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.521, allocations: 4 kB / 1.016 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/1.523, allocations: 318.6 kB / 1.016 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.61e-05/1.523, allocations: 12.38 kB / 1.016 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/1.523, allocations: 31.97 kB / 1.016 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/1.525, allocations: 2.38 MB / 1.019 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/1.525, allocations: 15.08 kB / 1.019 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004356/1.529, allocations: 2.016 MB / 1.021 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.53, allocations: 0.5522 MB / 1.021 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005789/1.531, allocations: 27.98 kB / 1.021 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002908/1.534, allocations: 283.5 kB / 1.021 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/1.534, allocations: 79.2 kB / 1.022 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/1.534, allocations: 67.94 kB / 1.022 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003912/1.538, allocations: 1.77 MB / 1.023 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.053e-06/1.538, allocations: 0 / 1.023 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00448/1.543, allocations: 1.301 MB / 1.025 GB, free: 12.28 MB / 0.7325 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.0009931/1.544, allocations: 379.6 kB / 1.025 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009414/1.553, allocations: 3.677 MB / 1.029 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.553, allocations: 5.75 kB / 1.029 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002059/1.555, allocations: 0.8264 MB / 1.029 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00882/1.564, allocations: 1.336 MB / 1.031 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008461/1.573, allocations: 5.257 MB / 1.036 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.574, allocations: 1.701 MB / 1.037 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003594/1.578, allocations: 0.7858 MB / 1.038 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007441/1.578, allocations: 223.4 kB / 1.038 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/1.578, allocations: 0 / 1.038 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of Templates: time 0.09033/1.669, allocations: 51.11 MB / 1.088 GB, free: 11.7 MB / 0.795 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)