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.001449/0.001449, allocations: 102.2 kB / 16.27 MB, free: 6 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.001451/0.001451, allocations: 191 kB / 17.2 MB, free: 5.609 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.301/1.301, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002486/0.002486, allocations: 289.8 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.151/1.151, allocations: 178.5 MB / 0.5079 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 103.8 kB / 0.6071 GB, free: 9.293 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1693, allocations: 89.13 MB / 0.6942 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.9499/1.119, allocations: 328.4 MB / 1.015 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03/1.149, allocations: 30.06 MB / 1.044 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003653/1.153, allocations: 99.69 kB / 1.044 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005405/1.158, allocations: 2.098 MB / 1.046 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/1.17, allocations: 4.973 MB / 1.051 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008251/1.179, allocations: 3.635 MB / 1.055 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.009742/1.188, allocations: 6.933 MB / 1.062 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004653/1.193, allocations: 2.863 MB / 1.064 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01191/1.205, allocations: 5.268 MB / 1.069 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004854/1.21, allocations: 2.412 MB / 1.072 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009895/1.211, allocations: 303.8 kB / 1.072 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009355/1.22, allocations: 4.809 MB / 1.077 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001657/1.222, allocations: 1.074 MB / 1.078 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002741/1.225, allocations: 1.739 MB / 1.08 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.009981/1.235, allocations: 5.7 MB / 1.085 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.235, allocations: 2.906 kB / 1.085 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.302e-06/1.235, allocations: 0 / 1.085 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.213e-05/1.235, allocations: 0 / 1.085 GB, free: 13.95 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.007408/1.242, allocations: 3.713 MB / 1.089 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/1.242, allocations: 10.62 kB / 1.089 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009384/1.252, allocations: 1.467 MB / 1.09 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004124/1.256, allocations: 1.977 MB / 1.092 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00117/1.257, allocations: 390 kB / 1.092 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004709/1.257, allocations: 218.6 kB / 1.093 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005476/1.263, allocations: 3.076 MB / 1.096 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/1.263, allocations: 5.5 kB / 1.096 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/1.263, allocations: 88.88 kB / 1.096 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-05/1.263, allocations: 88.03 kB / 1.096 GB, free: 9.266 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006327/1.27, allocations: 3.147 MB / 1.099 GB, free: 8.676 MB / 0.7481 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.02556/1.295, allocations: 14.15 MB / 1.113 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004232/1.3, allocations: 1.653 MB / 1.114 GB, free: 9.332 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/1.301, allocations: 0.7815 MB / 1.115 GB, free: 8.555 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000641/1.302, allocations: 325.7 kB / 1.115 GB, free: 8.188 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/1.302, allocations: 56.44 kB / 1.116 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001261/1.303, allocations: 197 kB / 1.116 GB, free: 7.934 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=110): time 3.106e-06/1.303, allocations: 0 / 1.116 GB, free: 7.934 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.005966/1.309, allocations: 2.355 MB / 1.118 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/1.309, allocations: 64.41 kB / 1.118 GB, free: 5.523 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004434/1.314, allocations: 2.54 MB / 1.121 GB, free: 2.965 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003687/1.314, allocations: 53.7 kB / 1.121 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/1.315, allocations: 1.271 MB / 1.122 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005046/1.316, allocations: 388.7 kB / 1.122 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006636/1.317, allocations: 383 kB / 1.123 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.317, allocations: 309.1 kB / 1.123 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002621/1.319, allocations: 0.9689 MB / 1.124 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003199/1.323, allocations: 1.585 MB / 1.125 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004855/1.327, allocations: 2.249 MB / 1.128 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-05/1.328, allocations: 4 kB / 1.128 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.007027/1.335, allocations: 2.79 MB / 1.13 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.37e-05/1.335, allocations: 75.39 kB / 1.13 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/1.335, allocations: 16 kB / 1.13 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/1.335, allocations: 20 kB / 1.13 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/1.338, allocations: 0.5546 MB / 1.131 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/1.339, allocations: 2.385 MB / 1.133 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003418/1.343, allocations: 323.8 kB / 1.134 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/1.343, allocations: 91.95 kB / 1.134 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003484/1.346, allocations: 1.398 MB / 1.135 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003155/1.35, allocations: 1.588 MB / 1.137 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004787/1.354, allocations: 2.238 MB / 1.139 GB, free: 15.49 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.053e-06/1.354, allocations: 4 kB / 1.139 GB, free: 15.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.006837/1.361, allocations: 2.782 MB / 1.141 GB, free: 12.76 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.385e-05/1.361, allocations: 79.39 kB / 1.142 GB, free: 12.67 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/1.361, allocations: 12 kB / 1.142 GB, free: 12.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/1.361, allocations: 20 kB / 1.142 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/1.364, allocations: 0.5109 MB / 1.142 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.06e-05/1.364, allocations: 31.86 kB / 1.142 GB, free: 12.12 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/1.367, allocations: 320.2 kB / 1.142 GB, free: 11.81 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/1.367, allocations: 87.95 kB / 1.142 GB, free: 11.73 MB / 0.795 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.0004898/1.368, allocations: 296.6 kB / 1.143 GB, free: 11.45 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004863/1.368, allocations: 256.8 kB / 1.143 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004542/1.373, allocations: 1.857 MB / 1.145 GB, free: 9.332 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/1.373, allocations: 12 kB / 1.145 GB, free: 9.32 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.373, allocations: 0 / 1.145 GB, free: 9.32 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.373, allocations: 7.984 kB / 1.145 GB, free: 9.312 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008773/1.382, allocations: 4.494 MB / 1.149 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/1.382, allocations: 4 kB / 1.149 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/1.383, allocations: 315.6 kB / 1.15 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/1.383, allocations: 8 kB / 1.15 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.579e-05/1.384, allocations: 31.98 kB / 1.15 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/1.385, allocations: 2.372 MB / 1.152 GB, free: 1.949 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.385, allocations: 6.625 kB / 1.152 GB, free: 1.945 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004307/1.389, allocations: 1.971 MB / 1.154 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.39, allocations: 0.529 MB / 1.154 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003447/1.391, allocations: 31.84 kB / 1.154 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/1.393, allocations: 190.6 kB / 1.155 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/1.393, allocations: 90.12 kB / 1.155 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/1.393, allocations: 59.95 kB / 1.155 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00311/1.396, allocations: 1.759 MB / 1.156 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.5e-07/1.396, allocations: 0 / 1.156 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0033/1.4, allocations: 1.275 MB / 1.158 GB, free: 11.95 MB / 0.8106 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.0008129/1.401, allocations: 376.2 kB / 1.158 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.009616/1.41, allocations: 3.752 MB / 1.162 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.41, allocations: 4 kB / 1.162 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002046/1.412, allocations: 0.8063 MB / 1.162 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006114/1.418, allocations: 1.219 MB / 1.164 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008615/1.427, allocations: 4.397 MB / 1.168 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/1.429, allocations: 1.68 MB / 1.17 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.43, allocations: 219.3 kB / 1.17 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of SimCode: time 7.61e-07/1.43, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of Templates: time 0.1041/1.534, allocations: 85.88 MB / 1.254 GB, free: 9.961 MB / 0.9044 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)