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.001476/0.001476, allocations: 103 kB / 16.29 MB, free: 6.02 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.001485/0.001486, allocations: 181.7 kB / 17.22 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.789/1.789, allocations: 292.3 MB / 0.5495 GB, free: 17.63 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.001415/0.001415, allocations: 67.91 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2179, allocations: 114.5 MB / 0.7841 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.643/0.861, allocations: 328.4 MB / 1.105 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03434/0.8954, allocations: 29.85 MB / 1.134 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.8986, allocations: 95.44 kB / 1.134 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005566/0.9042, allocations: 2.105 MB / 1.136 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.4817/1.386, allocations: 4.928 MB / 1.141 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.009029/1.395, allocations: 3.659 MB / 1.144 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01041/1.405, allocations: 6.916 MB / 1.151 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005697/1.411, allocations: 2.867 MB / 1.154 GB, free: 19.46 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01356/1.425, allocations: 5.281 MB / 1.159 GB, free: 19.4 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005776/1.431, allocations: 2.411 MB / 1.162 GB, free: 19.39 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001869/1.432, allocations: 296.9 kB / 1.162 GB, free: 19.39 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/1.444, allocations: 4.81 MB / 1.167 GB, free: 19.35 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002736/1.447, allocations: 1.065 MB / 1.168 GB, free: 19.35 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.004414/1.451, allocations: 1.741 MB / 1.169 GB, free: 19.35 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01227/1.463, allocations: 5.759 MB / 1.175 GB, free: 18.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/1.463, allocations: 0 / 1.175 GB, free: 18.92 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/1.463, allocations: 0.875 kB / 1.175 GB, free: 18.92 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.339e-05/1.464, allocations: 1.344 kB / 1.175 GB, free: 18.92 MB / 0.9356 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.008862/1.472, allocations: 3.707 MB / 1.178 GB, free: 17.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.472, allocations: 10.06 kB / 1.179 GB, free: 17.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/1.483, allocations: 1.462 MB / 1.18 GB, free: 17.08 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003981/1.487, allocations: 1.977 MB / 1.182 GB, free: 16.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001196/1.488, allocations: 401.3 kB / 1.182 GB, free: 16.51 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003951/1.488, allocations: 217 kB / 1.182 GB, free: 16.51 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005744/1.494, allocations: 3.073 MB / 1.185 GB, free: 16.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.397e-05/1.494, allocations: 6.281 kB / 1.185 GB, free: 16.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002457/1.494, allocations: 87.23 kB / 1.186 GB, free: 16.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.471e-05/1.494, allocations: 90.36 kB / 1.186 GB, free: 16.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007442/1.502, allocations: 3.149 MB / 1.189 GB, free: 16.12 MB / 0.9356 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.02349/1.525, allocations: 14.08 MB / 1.202 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/1.529, allocations: 1.649 MB / 1.204 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/1.53, allocations: 0.774 MB / 1.205 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000636/1.531, allocations: 323.1 kB / 1.205 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/1.531, allocations: 53.19 kB / 1.205 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00143/1.532, allocations: 210.8 kB / 1.205 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 5.29e-06/1.533, allocations: 0.9375 kB / 1.205 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of matching and sorting (n=110): time 0.005259/1.538, allocations: 2.354 MB / 1.208 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/1.538, allocations: 62.94 kB / 1.208 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003435/1.541, allocations: 2.541 MB / 1.21 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001819/1.541, allocations: 56.3 kB / 1.21 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008289/1.542, allocations: 1.272 MB / 1.212 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/1.543, allocations: 388.3 kB / 1.212 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006301/1.543, allocations: 397.1 kB / 1.212 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/1.543, allocations: 304.8 kB / 1.213 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/1.546, allocations: 0.9741 MB / 1.214 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/1.548, allocations: 1.606 MB / 1.215 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004107/1.552, allocations: 2.277 MB / 1.217 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/1.552, allocations: 4.375 kB / 1.217 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005986/1.558, allocations: 2.821 MB / 1.22 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.157e-05/1.559, allocations: 71.61 kB / 1.22 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/1.559, allocations: 18.78 kB / 1.22 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/1.559, allocations: 21.78 kB / 1.22 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/1.561, allocations: 0.5688 MB / 1.221 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/1.563, allocations: 2.396 MB / 1.223 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/1.566, allocations: 315.7 kB / 1.223 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/1.567, allocations: 93.66 kB / 1.223 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00353/1.57, allocations: 1.414 MB / 1.225 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002793/1.573, allocations: 1.6 MB / 1.226 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004416/1.577, allocations: 2.268 MB / 1.229 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.151e-05/1.577, allocations: 2.812 kB / 1.229 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006271/1.584, allocations: 2.821 MB / 1.231 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/1.584, allocations: 73.8 kB / 1.231 GB, free: 460 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/1.584, allocations: 13.22 kB / 1.231 GB, free: 460 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.584, allocations: 21.22 kB / 1.231 GB, free: 460 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00238/1.586, allocations: 0.5165 MB / 1.232 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-05/1.586, allocations: 32.45 kB / 1.232 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/1.59, allocations: 327.8 kB / 1.232 GB, free: 428 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/1.59, allocations: 94.33 kB / 1.232 GB, free: 428 kB / 0.9356 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.0005767/1.591, allocations: 304.8 kB / 1.233 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004443/1.591, allocations: 257.1 kB / 1.233 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004209/1.595, allocations: 1.843 MB / 1.235 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/1.595, allocations: 10.81 kB / 1.235 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.595, allocations: 0 / 1.235 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.595, allocations: 5.953 kB / 1.235 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008129/1.603, allocations: 4.494 MB / 1.239 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.603, allocations: 5.031 kB / 1.239 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/1.605, allocations: 307.5 kB / 1.239 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/1.605, allocations: 10.38 kB / 1.239 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.692e-05/1.605, allocations: 32.05 kB / 1.239 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/1.606, allocations: 2.369 MB / 1.242 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.606, allocations: 8.062 kB / 1.242 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/1.61, allocations: 1.974 MB / 1.244 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/1.611, allocations: 0.5251 MB / 1.244 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003945/1.612, allocations: 31.69 kB / 1.244 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.614, allocations: 195.7 kB / 1.244 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.614, allocations: 77.66 kB / 1.245 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/1.614, allocations: 63.77 kB / 1.245 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002672/1.617, allocations: 1.753 MB / 1.246 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.7e-07/1.617, allocations: 0 / 1.246 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003199/1.62, allocations: 1.286 MB / 1.248 GB, free: 10.55 MB / 0.9512 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.0007267/1.621, allocations: 365 kB / 1.248 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008255/1.629, allocations: 3.633 MB / 1.251 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.629, allocations: 5.969 kB / 1.251 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/1.631, allocations: 0.8097 MB / 1.252 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005316/1.636, allocations: 1.199 MB / 1.253 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007127/1.644, allocations: 4.241 MB / 1.258 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/1.645, allocations: 1.697 MB / 1.259 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003105/1.648, allocations: 0.7793 MB / 1.26 GB, free: 176 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006308/1.649, allocations: 194.1 kB / 1.26 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of SimCode: time 6.81e-07/1.649, allocations: 0 / 1.26 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of Templates: time 0.07513/1.724, allocations: 47.64 MB / 1.307 GB, free: 1.293 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)