Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009957/0.0009957, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01096/0.01096, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 267 kB / 291.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9245/0.9245, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004177/0.0004177, allocations: 13.66 kB / 0.5987 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1808, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6582/0.8391, allocations: 321.9 MB / 0.9995 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.06667/0.9058, allocations: 29.9 MB / 1.029 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005176/0.911, allocations: 87.44 kB / 1.029 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009166/0.9202, allocations: 1.769 MB / 1.03 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01987/0.9402, allocations: 4.69 MB / 1.035 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.009408/0.9496, allocations: 3.349 MB / 1.038 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.491/1.441, allocations: 9.626 MB / 1.048 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004269/1.445, allocations: 2.363 MB / 1.05 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01329/1.458, allocations: 4.679 MB / 1.055 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005913/1.464, allocations: 2.391 MB / 1.057 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009091/1.465, allocations: 132.7 kB / 1.057 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01138/1.476, allocations: 5.584 MB / 1.063 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002692/1.479, allocations: 0.8936 MB / 1.063 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003751/1.483, allocations: 1.575 MB / 1.065 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01285/1.496, allocations: 5.804 MB / 1.071 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.496, allocations: 0 / 1.071 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.846e-06/1.496, allocations: 0 / 1.071 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001436/1.496, allocations: 0 / 1.071 GB, free: 6.961 MB / 0.7481 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.008757/1.505, allocations: 3.068 MB / 1.074 GB, free: 21.37 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.505, allocations: 11.47 kB / 1.074 GB, free: 21.37 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/1.515, allocations: 1.575 MB / 1.075 GB, free: 21.14 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004598/1.52, allocations: 1.993 MB / 1.077 GB, free: 20.57 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001314/1.521, allocations: 441.1 kB / 1.078 GB, free: 20.53 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007884/1.522, allocations: 215 kB / 1.078 GB, free: 20.53 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0062/1.528, allocations: 3.106 MB / 1.081 GB, free: 20.16 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/1.528, allocations: 5.375 kB / 1.081 GB, free: 20.16 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000283/1.529, allocations: 95.56 kB / 1.081 GB, free: 20.16 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.081e-05/1.529, allocations: 87.06 kB / 1.081 GB, free: 20.15 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0069/1.536, allocations: 3.221 MB / 1.084 GB, free: 20.07 MB / 0.7637 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.02229/1.558, allocations: 14.28 MB / 1.098 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/1.561, allocations: 1.689 MB / 1.1 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/1.563, allocations: 0.7947 MB / 1.1 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006781/1.564, allocations: 338.8 kB / 1.101 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/1.564, allocations: 52.59 kB / 1.101 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001505/1.565, allocations: 194.3 kB / 1.101 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=110): time 4.439e-06/1.565, allocations: 0 / 1.101 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.005387/1.571, allocations: 2.416 MB / 1.103 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/1.571, allocations: 62.59 kB / 1.103 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003777/1.574, allocations: 2.557 MB / 1.106 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002644/1.575, allocations: 60.58 kB / 1.106 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000831/1.576, allocations: 1.267 MB / 1.107 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/1.576, allocations: 388.6 kB / 1.108 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/1.576, allocations: 136.7 kB / 1.108 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/1.576, allocations: 305.1 kB / 1.108 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/1.578, allocations: 0.9953 MB / 1.109 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/1.581, allocations: 1.625 MB / 1.111 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00408/1.585, allocations: 2.306 MB / 1.113 GB, free: 9.016 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/1.585, allocations: 3.375 kB / 1.113 GB, free: 9.016 MB / 0.7637 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006145/1.591, allocations: 2.863 MB / 1.116 GB, free: 8.707 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002496/1.592, allocations: 0.539 MB / 1.116 GB, free: 8.062 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/1.592, allocations: 17.64 kB / 1.116 GB, free: 8.059 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/1.592, allocations: 27.19 kB / 1.116 GB, free: 8.055 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/1.594, allocations: 0.5822 MB / 1.117 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/1.596, allocations: 2.387 MB / 1.119 GB, free: 5.695 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/1.6, allocations: 447.2 kB / 1.12 GB, free: 5.641 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/1.6, allocations: 95.05 kB / 1.12 GB, free: 5.641 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.6, allocations: 6.094 kB / 1.12 GB, free: 5.641 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005849/1.606, allocations: 2.619 MB / 1.122 GB, free: 5.488 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/1.606, allocations: 14.41 kB / 1.122 GB, free: 5.488 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.606, allocations: 24.38 kB / 1.122 GB, free: 5.484 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/1.608, allocations: 0.5276 MB / 1.123 GB, free: 5.473 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-05/1.608, allocations: 29.66 kB / 1.123 GB, free: 5.473 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/1.612, allocations: 373.8 kB / 1.123 GB, free: 5.43 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/1.612, allocations: 89.09 kB / 1.123 GB, free: 5.43 MB / 0.7637 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.001478/1.614, allocations: 0.6234 MB / 1.124 GB, free: 5.234 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005133/1.614, allocations: 268.8 kB / 1.124 GB, free: 5.094 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004146/1.618, allocations: 1.881 MB / 1.126 GB, free: 4.973 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.618, allocations: 11.97 kB / 1.126 GB, free: 4.973 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/1.618, allocations: 4.031 kB / 1.126 GB, free: 4.973 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/1.619, allocations: 6 kB / 1.126 GB, free: 4.973 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00793/1.626, allocations: 4.544 MB / 1.13 GB, free: 3.605 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/1.626, allocations: 9.562 kB / 1.13 GB, free: 3.605 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/1.628, allocations: 316.6 kB / 1.131 GB, free: 3.543 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/1.628, allocations: 8.812 kB / 1.131 GB, free: 3.543 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.488e-05/1.628, allocations: 30.36 kB / 1.131 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/1.629, allocations: 2.369 MB / 1.133 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.629, allocations: 9.844 kB / 1.133 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/1.633, allocations: 2.018 MB / 1.135 GB, free: 452 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.635, allocations: 0.5516 MB / 1.136 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003692/1.635, allocations: 25.72 kB / 1.136 GB, free: 120 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/1.638, allocations: 285.8 kB / 1.136 GB, free: 20 kB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.638, allocations: 80.27 kB / 1.136 GB, free: 0 / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/1.638, allocations: 70.25 kB / 1.136 GB, free: 0 / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003088/1.641, allocations: 1.775 MB / 1.138 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/1.641, allocations: 2.438 kB / 1.138 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004169/1.645, allocations: 1.301 MB / 1.139 GB, free: 15.42 MB / 0.7794 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.0007556/1.646, allocations: 376.7 kB / 1.139 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.008286/1.654, allocations: 3.69 MB / 1.143 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/1.654, allocations: 3.844 kB / 1.143 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/1.656, allocations: 0.8274 MB / 1.144 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008625/1.665, allocations: 1.319 MB / 1.145 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008242/1.673, allocations: 5.263 MB / 1.15 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/1.675, allocations: 1.702 MB / 1.152 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003883/1.679, allocations: 0.7897 MB / 1.153 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008195/1.679, allocations: 224.9 kB / 1.153 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of SimCode: time 2.205e-06/1.679, allocations: 0 / 1.153 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of Templates: time 0.08774/1.767, allocations: 51.16 MB / 1.203 GB, free: 3.883 MB / 0.8262 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)