Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002366/0.002366, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002253/0.002253, allocations: 173.6 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.664/1.664, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.251/3.251, allocations: 389.5 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.089e-05, allocations: 6.219 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.033/1.033, allocations: 292.4 MB / 1.287 GB, free: 7.184 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.04587/1.079, allocations: 27.69 MB / 1.314 GB, free: 11.43 MB / 1.151 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003615/1.083, allocations: 138.8 kB / 1.314 GB, free: 11.29 MB / 1.151 GB Notification: Performance of NFTyping.typeComponents: time 0.006099/1.089, allocations: 2.046 MB / 1.316 GB, free: 9.23 MB / 1.151 GB Notification: Performance of NFTyping.typeBindings: time 0.01578/1.105, allocations: 5.335 MB / 1.321 GB, free: 3.875 MB / 1.151 GB Notification: Performance of NFTyping.typeClassSections: time 0.01136/1.116, allocations: 3.84 MB / 1.325 GB, free: 64 kB / 1.151 GB Notification: Performance of NFFlatten.flatten: time 0.01235/1.129, allocations: 7.032 MB / 1.332 GB, free: 9.012 MB / 1.167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004752/1.133, allocations: 2.297 MB / 1.334 GB, free: 6.656 MB / 1.167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01864/1.152, allocations: 6.678 MB / 1.34 GB, free: 15.98 MB / 1.182 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005573/1.157, allocations: 2.191 MB / 1.343 GB, free: 13.81 MB / 1.182 GB Notification: Performance of NFPackage.collectConstants: time 0.0007602/1.158, allocations: 300 kB / 1.343 GB, free: 13.52 MB / 1.182 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009167/1.167, allocations: 4.027 MB / 1.347 GB, free: 9.477 MB / 1.182 GB Notification: Performance of NFScalarize.scalarize: time 0.001613/1.169, allocations: 1.153 MB / 1.348 GB, free: 8.32 MB / 1.182 GB Notification: Performance of NFVerifyModel.verify: time 0.002429/1.171, allocations: 1.22 MB / 1.349 GB, free: 7.098 MB / 1.182 GB Notification: Performance of NFConvertDAE.convert: time 0.01299/1.184, allocations: 5.933 MB / 1.355 GB, free: 1.148 MB / 1.182 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.184, allocations: 0 / 1.355 GB, free: 1.148 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.803e-06/1.184, allocations: 0 / 1.355 GB, free: 1.148 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001137/1.185, allocations: 3.938 kB / 1.355 GB, free: 1.145 MB / 1.182 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.009624/1.194, allocations: 3.705 MB / 1.359 GB, free: 13.36 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.194, allocations: 13.34 kB / 1.359 GB, free: 13.35 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009386/1.204, allocations: 1.204 MB / 1.36 GB, free: 12.14 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005063/1.209, allocations: 2.051 MB / 1.362 GB, free: 10.01 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/1.209, allocations: 176.1 kB / 1.362 GB, free: 9.832 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004503/1.209, allocations: 220 kB / 1.362 GB, free: 9.617 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007641/1.217, allocations: 3.589 MB / 1.366 GB, free: 5.785 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/1.217, allocations: 0 / 1.366 GB, free: 5.785 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/1.217, allocations: 87.98 kB / 1.366 GB, free: 5.699 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/1.217, allocations: 92.06 kB / 1.366 GB, free: 5.605 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00775/1.225, allocations: 3.084 MB / 1.369 GB, free: 2.504 MB / 1.198 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.0231/1.248, allocations: 8.367 MB / 1.377 GB, free: 9.984 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004966/1.253, allocations: 1.616 MB / 1.379 GB, free: 8.363 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/1.255, allocations: 0.786 MB / 1.379 GB, free: 7.574 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005828/1.256, allocations: 96.89 kB / 1.379 GB, free: 7.48 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/1.256, allocations: 51.56 kB / 1.379 GB, free: 7.422 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002205/1.258, allocations: 367 kB / 1.38 GB, free: 7.062 MB / 1.214 GB Notification: Performance of pre-optimization done (n=110): time 3.626e-06/1.258, allocations: 0 / 1.38 GB, free: 7.062 MB / 1.214 GB Notification: Performance of matching and sorting (n=110): time 0.00719/1.265, allocations: 2.541 MB / 1.382 GB, free: 4.516 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/1.265, allocations: 64.41 kB / 1.382 GB, free: 4.441 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004501/1.27, allocations: 2.09 MB / 1.384 GB, free: 2.324 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0004545/1.27, allocations: 57.7 kB / 1.384 GB, free: 2.262 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.001373/1.272, allocations: 1.331 MB / 1.386 GB, free: 0.918 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005489/1.272, allocations: 396.5 kB / 1.386 GB, free: 0.5273 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008104/1.273, allocations: 411.2 kB / 1.386 GB, free: 124 kB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001981/1.273, allocations: 301.1 kB / 1.387 GB, free: 15.82 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/1.276, allocations: 1.062 MB / 1.388 GB, free: 14.75 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004127/1.28, allocations: 2.489 MB / 1.39 GB, free: 11.78 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005786/1.286, allocations: 2.349 MB / 1.393 GB, free: 9.238 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/1.286, allocations: 4 kB / 1.393 GB, free: 9.234 MB / 1.229 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.007639/1.294, allocations: 2.923 MB / 1.395 GB, free: 6.277 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 8.69e-05/1.294, allocations: 75.33 kB / 1.395 GB, free: 6.191 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/1.294, allocations: 16.19 kB / 1.395 GB, free: 6.176 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.012e-05/1.294, allocations: 27.94 kB / 1.396 GB, free: 6.148 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003218/1.297, allocations: 0.5742 MB / 1.396 GB, free: 5.574 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/1.299, allocations: 2.391 MB / 1.398 GB, free: 3.09 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00313/1.302, allocations: 260 kB / 1.399 GB, free: 2.836 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/1.303, allocations: 107.9 kB / 1.399 GB, free: 2.73 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003871/1.306, allocations: 1.507 MB / 1.4 GB, free: 1.207 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004214/1.311, allocations: 2.478 MB / 1.403 GB, free: 14.26 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005961/1.317, allocations: 2.349 MB / 1.405 GB, free: 11.72 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.999e-06/1.317, allocations: 4 kB / 1.405 GB, free: 11.71 MB / 1.245 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.007767/1.324, allocations: 2.919 MB / 1.408 GB, free: 8.762 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 9.271e-05/1.324, allocations: 75.39 kB / 1.408 GB, free: 8.676 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/1.324, allocations: 12 kB / 1.408 GB, free: 8.664 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/1.325, allocations: 24 kB / 1.408 GB, free: 8.641 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/1.327, allocations: 0.5189 MB / 1.408 GB, free: 8.121 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-05/1.327, allocations: 27.92 kB / 1.408 GB, free: 8.094 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/1.33, allocations: 276.1 kB / 1.409 GB, free: 7.824 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/1.331, allocations: 107.9 kB / 1.409 GB, free: 7.719 MB / 1.245 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.0005784/1.331, allocations: 299.6 kB / 1.409 GB, free: 7.418 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005443/1.332, allocations: 238.5 kB / 1.409 GB, free: 7.184 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005524/1.337, allocations: 1.96 MB / 1.411 GB, free: 5.203 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/1.337, allocations: 16.17 kB / 1.411 GB, free: 5.188 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.337, allocations: 4 kB / 1.411 GB, free: 5.184 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/1.337, allocations: 7.969 kB / 1.411 GB, free: 5.176 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009297/1.347, allocations: 4.065 MB / 1.415 GB, free: 1 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/1.347, allocations: 8.094 kB / 1.415 GB, free: 0.9922 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001885/1.349, allocations: 311.5 kB / 1.416 GB, free: 0.6875 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/1.349, allocations: 8 kB / 1.416 GB, free: 0.6797 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/1.349, allocations: 31.98 kB / 1.416 GB, free: 0.6484 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/1.35, allocations: 2.363 MB / 1.418 GB, free: 14.19 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/1.35, allocations: 11.94 kB / 1.418 GB, free: 14.18 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/1.356, allocations: 2.002 MB / 1.42 GB, free: 12.09 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/1.357, allocations: 436.2 kB / 1.42 GB, free: 11.66 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003343/1.357, allocations: 31.89 kB / 1.42 GB, free: 11.63 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00217/1.359, allocations: 160.8 kB / 1.42 GB, free: 11.47 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/1.36, allocations: 84.73 kB / 1.421 GB, free: 11.39 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/1.36, allocations: 63.95 kB / 1.421 GB, free: 11.33 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.002798/1.363, allocations: 1.408 MB / 1.422 GB, free: 9.906 MB / 1.26 GB Notification: Performance of sort global known variables: time 2e-07/1.363, allocations: 0 / 1.422 GB, free: 9.906 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.003922/1.367, allocations: 1.392 MB / 1.423 GB, free: 8.512 MB / 1.26 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.0008916/1.367, allocations: 357.2 kB / 1.424 GB, free: 8.168 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.01035/1.378, allocations: 3.694 MB / 1.427 GB, free: 4.41 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/1.378, allocations: 4 kB / 1.427 GB, free: 4.406 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.002371/1.38, allocations: 0.8189 MB / 1.428 GB, free: 3.586 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004186/1.384, allocations: 0.8021 MB / 1.429 GB, free: 2.789 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008923/1.393, allocations: 4.306 MB / 1.433 GB, free: 14.37 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/1.395, allocations: 1.152 MB / 1.434 GB, free: 13.18 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.003097/1.398, allocations: 0.7507 MB / 1.435 GB, free: 12.42 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006813/1.398, allocations: 188.4 kB / 1.435 GB, free: 12.24 MB / 1.276 GB Notification: Performance of SimCode: time 9.42e-07/1.398, allocations: 0 / 1.435 GB, free: 12.24 MB / 1.276 GB Notification: Performance of Templates: time 0.0795/1.478, allocations: 41.65 MB / 1.476 GB, free: 3.426 MB / 1.307 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.495789096690714]