Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00111/0.00111, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001221/0.001221, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005906/0.0005907, allocations: 20.36 kB / 0.6735 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2748, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.834/1.109, allocations: 265.4 MB / 1.046 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03503/1.144, allocations: 26.9 MB / 1.073 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004382/1.148, allocations: 79.44 kB / 1.073 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006199/1.155, allocations: 1.664 MB / 1.074 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01615/1.171, allocations: 4.541 MB / 1.079 GB, free: 13.69 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.008793/1.18, allocations: 2.613 MB / 1.081 GB, free: 11.1 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008839/1.188, allocations: 3.916 MB / 1.085 GB, free: 7.176 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004001/1.193, allocations: 2.241 MB / 1.087 GB, free: 4.895 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009245/1.202, allocations: 3.462 MB / 1.091 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003562/1.205, allocations: 1.591 MB / 1.092 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0008799/1.206, allocations: 128 kB / 1.092 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006782/1.213, allocations: 2.204 MB / 1.094 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001674/1.215, allocations: 0.8217 MB / 1.095 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001436/1.216, allocations: 0.6368 MB / 1.096 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.006158/1.222, allocations: 3.608 MB / 1.099 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.222, allocations: 7.938 kB / 1.099 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.174e-06/1.222, allocations: 0 / 1.099 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001192/1.223, allocations: 0 / 1.099 GB, free: 8.398 MB / 0.8106 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.006666/1.229, allocations: 2.984 MB / 1.102 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.229, allocations: 8.031 kB / 1.102 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009374/1.239, allocations: 1.585 MB / 1.104 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004257/1.243, allocations: 1.923 MB / 1.106 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001269/1.244, allocations: 428.2 kB / 1.106 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004957/1.245, allocations: 220 kB / 1.106 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005731/1.251, allocations: 3.074 MB / 1.109 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/1.251, allocations: 3.938 kB / 1.109 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/1.251, allocations: 95.98 kB / 1.109 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.333e-05/1.251, allocations: 88 kB / 1.11 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007502/1.259, allocations: 3.205 MB / 1.113 GB, free: 10.48 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.02301/1.282, allocations: 14.29 MB / 1.127 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/1.285, allocations: 1.707 MB / 1.128 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004198/1.286, allocations: 159 kB / 1.128 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/1.286, allocations: 51.56 kB / 1.128 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001254/1.287, allocations: 198 kB / 1.129 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 8.766e-06/1.287, allocations: 4 kB / 1.129 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of matching and sorting (n=110): time 0.005655/1.293, allocations: 2.406 MB / 1.131 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/1.293, allocations: 64.41 kB / 1.131 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00434/1.297, allocations: 2.533 MB / 1.134 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002869/1.298, allocations: 57.7 kB / 1.134 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/1.299, allocations: 1.276 MB / 1.135 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003532/1.299, allocations: 390.5 kB / 1.135 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/1.299, allocations: 36 kB / 1.135 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.299, allocations: 369.9 kB / 1.136 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002579/1.302, allocations: 0.9993 MB / 1.137 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003048/1.305, allocations: 1.63 MB / 1.138 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002857/1.308, allocations: 1.2 MB / 1.139 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-05/1.308, allocations: 4 kB / 1.139 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00656/1.315, allocations: 2.89 MB / 1.142 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.002142/1.317, allocations: 5.777 MB / 1.148 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.443e-05/1.317, allocations: 16 kB / 1.148 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.787e-05/1.317, allocations: 24 kB / 1.148 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003098/1.32, allocations: 0.5734 MB / 1.148 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/1.321, allocations: 2.391 MB / 1.151 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004642/1.326, allocations: 451.2 kB / 1.151 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004672/1.326, allocations: 95.95 kB / 1.151 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/1.326, allocations: 4 kB / 1.151 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007013/1.333, allocations: 2.639 MB / 1.154 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.897e-05/1.334, allocations: 12 kB / 1.154 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.715e-05/1.334, allocations: 28.09 kB / 1.154 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/1.336, allocations: 0.5345 MB / 1.154 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.81e-05/1.336, allocations: 31.92 kB / 1.154 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003623/1.34, allocations: 371.4 kB / 1.155 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003135/1.34, allocations: 95.94 kB / 1.155 GB, free: 13.06 MB / 0.8731 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.001623/1.342, allocations: 0.6293 MB / 1.156 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007039/1.343, allocations: 264.8 kB / 1.156 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004545/1.347, allocations: 1.874 MB / 1.158 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/1.347, allocations: 12 kB / 1.158 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.347, allocations: 4 kB / 1.158 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.347, allocations: 7.969 kB / 1.158 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009167/1.356, allocations: 4.528 MB / 1.162 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.356, allocations: 4 kB / 1.162 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.358, allocations: 315.7 kB / 1.162 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.35e-05/1.358, allocations: 12 kB / 1.162 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.358, allocations: 31.98 kB / 1.162 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/1.359, allocations: 2.364 MB / 1.165 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/1.359, allocations: 15.94 kB / 1.165 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004622/1.364, allocations: 2.506 MB / 1.167 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/1.366, allocations: 0.5444 MB / 1.168 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006843/1.366, allocations: 20 kB / 1.168 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/1.369, allocations: 291.5 kB / 1.168 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.37, allocations: 84.8 kB / 1.168 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/1.37, allocations: 59.95 kB / 1.168 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003531/1.373, allocations: 1.751 MB / 1.17 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.31e-07/1.373, allocations: 4 kB / 1.17 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005066/1.378, allocations: 1.295 MB / 1.171 GB, free: 11.87 MB / 0.8887 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 (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 Backend phase and start with SimCode phase: time 0.0008879/1.379, allocations: 374.7 kB / 1.171 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.009906/1.389, allocations: 3.706 MB / 1.175 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.361e-05/1.389, allocations: 4 kB / 1.175 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/1.391, allocations: 0.8232 MB / 1.176 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00705/1.399, allocations: 1.194 MB / 1.177 GB, free: 5.762 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/1.409, allocations: 5.013 MB / 1.182 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/1.411, allocations: 1.747 MB / 1.184 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.004163/1.415, allocations: 0.7818 MB / 1.184 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007493/1.416, allocations: 195.4 kB / 1.185 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of SimCode: time 7.11e-07/1.416, allocations: 0 / 1.185 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of Templates: time 0.07947/1.495, allocations: 44.44 MB / 1.228 GB, free: 1.977 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) Environment - environmentSimulation: