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.001161/0.001161, allocations: 105.6 kB / 16.37 MB, free: 6.477 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.00115/0.00115, allocations: 189.8 kB / 17.31 MB, free: 5.824 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.342/1.342, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.755/1.755, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001456/0.001456, allocations: 72.11 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2322, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7366/0.9689, allocations: 328.4 MB / 1.106 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03883/1.008, allocations: 29.84 MB / 1.135 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004702/1.013, allocations: 99.44 kB / 1.135 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.006339/1.019, allocations: 2.097 MB / 1.137 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.5452/1.564, allocations: 4.945 MB / 1.142 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.009679/1.574, allocations: 3.655 MB / 1.145 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01252/1.586, allocations: 6.92 MB / 1.152 GB, free: 3.535 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006876/1.593, allocations: 2.868 MB / 1.155 GB, free: 19.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01593/1.609, allocations: 5.273 MB / 1.16 GB, free: 19.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006764/1.616, allocations: 2.415 MB / 1.162 GB, free: 19.17 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001626/1.618, allocations: 296.5 kB / 1.163 GB, free: 19.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/1.631, allocations: 4.807 MB / 1.167 GB, free: 19.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002965/1.634, allocations: 1.068 MB / 1.168 GB, free: 19.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.006321/1.64, allocations: 1.728 MB / 1.17 GB, free: 19.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01616/1.656, allocations: 5.751 MB / 1.176 GB, free: 18.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.656, allocations: 1.031 kB / 1.176 GB, free: 18.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.324e-06/1.656, allocations: 1.906 kB / 1.176 GB, free: 18.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001807/1.656, allocations: 0 / 1.176 GB, free: 18.7 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.01231/1.669, allocations: 3.699 MB / 1.179 GB, free: 17.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/1.669, allocations: 9.625 kB / 1.179 GB, free: 17.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/1.68, allocations: 1.462 MB / 1.181 GB, free: 16.85 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005569/1.685, allocations: 2.064 MB / 1.183 GB, free: 16.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/1.686, allocations: 170.9 kB / 1.183 GB, free: 16.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008115/1.687, allocations: 221.4 kB / 1.183 GB, free: 16.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006511/1.693, allocations: 3.032 MB / 1.186 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/1.693, allocations: 6.75 kB / 1.186 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002668/1.693, allocations: 91.16 kB / 1.186 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.241e-05/1.694, allocations: 92.23 kB / 1.186 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00712/1.701, allocations: 3.109 MB / 1.189 GB, free: 15.9 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.02562/1.726, allocations: 14.03 MB / 1.203 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003856/1.73, allocations: 1.657 MB / 1.205 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/1.732, allocations: 0.7755 MB / 1.205 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006488/1.732, allocations: 321 kB / 1.206 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/1.733, allocations: 54.31 kB / 1.206 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00177/1.734, allocations: 204.8 kB / 1.206 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 4.979e-06/1.734, allocations: 0 / 1.206 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=110): time 0.00621/1.741, allocations: 2.354 MB / 1.208 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/1.741, allocations: 66.31 kB / 1.208 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004491/1.745, allocations: 2.514 MB / 1.211 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004574/1.746, allocations: 58.98 kB / 1.211 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/1.747, allocations: 1.266 MB / 1.212 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/1.747, allocations: 392.3 kB / 1.212 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007317/1.748, allocations: 396.9 kB / 1.213 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.748, allocations: 305.1 kB / 1.213 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/1.75, allocations: 0.9549 MB / 1.214 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/1.753, allocations: 1.589 MB / 1.215 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004471/1.758, allocations: 2.254 MB / 1.218 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/1.758, allocations: 4.906 kB / 1.218 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006571/1.764, allocations: 2.783 MB / 1.22 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.836e-05/1.764, allocations: 71.25 kB / 1.22 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/1.764, allocations: 15.12 kB / 1.22 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.772e-05/1.764, allocations: 20.56 kB / 1.22 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/1.767, allocations: 0.558 MB / 1.221 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/1.769, allocations: 2.39 MB / 1.223 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003946/1.773, allocations: 286.3 kB / 1.224 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/1.773, allocations: 91.58 kB / 1.224 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00357/1.776, allocations: 1.391 MB / 1.225 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002829/1.779, allocations: 1.59 MB / 1.227 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004372/1.784, allocations: 2.242 MB / 1.229 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.18e-05/1.784, allocations: 5.031 kB / 1.229 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006399/1.79, allocations: 2.781 MB / 1.232 GB, free: 372 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.193e-05/1.79, allocations: 78.7 kB / 1.232 GB, free: 304 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/1.79, allocations: 15.91 kB / 1.232 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/1.79, allocations: 21.59 kB / 1.232 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/1.793, allocations: 0.5103 MB / 1.232 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.626e-05/1.793, allocations: 30.12 kB / 1.232 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/1.796, allocations: 296.8 kB / 1.232 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/1.796, allocations: 93.86 kB / 1.233 GB, free: 272 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.0006416/1.797, allocations: 291.9 kB / 1.233 GB, free: 80 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005874/1.798, allocations: 265.2 kB / 1.233 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/1.802, allocations: 1.846 MB / 1.235 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/1.802, allocations: 11.12 kB / 1.235 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.802, allocations: 0 / 1.235 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/1.802, allocations: 4.875 kB / 1.235 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008655/1.811, allocations: 4.492 MB / 1.239 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/1.811, allocations: 9.922 kB / 1.239 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/1.812, allocations: 304.9 kB / 1.24 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/1.812, allocations: 9.281 kB / 1.24 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.411e-05/1.812, allocations: 32.48 kB / 1.24 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/1.814, allocations: 2.367 MB / 1.242 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/1.814, allocations: 5.188 kB / 1.242 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004801/1.819, allocations: 1.982 MB / 1.244 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/1.82, allocations: 0.5212 MB / 1.244 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005987/1.821, allocations: 36.2 kB / 1.244 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002516/1.824, allocations: 178.3 kB / 1.245 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/1.824, allocations: 81.31 kB / 1.245 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.824, allocations: 66.45 kB / 1.245 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003016/1.827, allocations: 1.724 MB / 1.246 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/1.827, allocations: 0 / 1.246 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004435/1.831, allocations: 1.284 MB / 1.248 GB, free: 10.45 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.0008736/1.832, allocations: 365.2 kB / 1.248 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008864/1.841, allocations: 3.589 MB / 1.252 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.841, allocations: 0.5 kB / 1.252 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/1.843, allocations: 0.8155 MB / 1.252 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006997/1.85, allocations: 1.198 MB / 1.253 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008456/1.859, allocations: 4.344 MB / 1.258 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/1.86, allocations: 1.681 MB / 1.259 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/1.861, allocations: 224.6 kB / 1.26 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of SimCode: time 1.062e-06/1.861, allocations: 0 / 1.26 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of Templates: time 0.099/1.961, allocations: 85.75 MB / 1.343 GB, free: 12.02 MB / 1.045 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)