Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.785/1.785, allocations: 288.3 MB / 303.2 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002017/0.002017, allocations: 176 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 106.7 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00062/0.0006201, allocations: 16.34 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2649, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7523/1.017, allocations: 265.4 MB / 1.239 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.03277/1.05, allocations: 26.9 MB / 1.265 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003322/1.053, allocations: 79.44 kB / 1.265 GB, free: 3.906 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.005556/1.059, allocations: 1.657 MB / 1.267 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01489/1.074, allocations: 4.542 MB / 1.271 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.007935/1.082, allocations: 2.619 MB / 1.274 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.007531/1.089, allocations: 3.9 MB / 1.277 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00418/1.094, allocations: 2.246 MB / 1.28 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009107/1.103, allocations: 3.462 MB / 1.283 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003574/1.106, allocations: 1.584 MB / 1.284 GB, free: 15.85 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009144/1.107, allocations: 128 kB / 1.285 GB, free: 15.72 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006062/1.113, allocations: 2.211 MB / 1.287 GB, free: 13.51 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001539/1.115, allocations: 0.8178 MB / 1.288 GB, free: 12.69 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001767/1.117, allocations: 0.6329 MB / 1.288 GB, free: 12.05 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006494/1.123, allocations: 3.612 MB / 1.292 GB, free: 8.426 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.123, allocations: 0 / 1.292 GB, free: 8.426 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.765e-06/1.123, allocations: 0 / 1.292 GB, free: 8.426 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002435/1.124, allocations: 0 / 1.292 GB, free: 8.426 MB / 0.823 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.007585/1.131, allocations: 2.992 MB / 1.295 GB, free: 5.352 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/1.131, allocations: 8.031 kB / 1.295 GB, free: 5.344 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009748/1.141, allocations: 1.585 MB / 1.296 GB, free: 3.754 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004617/1.146, allocations: 1.907 MB / 1.298 GB, free: 1.77 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001331/1.147, allocations: 440.2 kB / 1.298 GB, free: 1.336 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005839/1.148, allocations: 220 kB / 1.299 GB, free: 1.121 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007023/1.155, allocations: 3.066 MB / 1.302 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.126e-05/1.155, allocations: 3.938 kB / 1.302 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003918/1.155, allocations: 92 kB / 1.302 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/1.155, allocations: 91.94 kB / 1.302 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007411/1.163, allocations: 3.205 MB / 1.305 GB, free: 10.51 MB / 0.8386 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.02493/1.188, allocations: 14.29 MB / 1.319 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004183/1.192, allocations: 1.707 MB / 1.321 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004522/1.192, allocations: 159 kB / 1.321 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/1.192, allocations: 55.5 kB / 1.321 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001268/1.194, allocations: 198 kB / 1.321 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 6.672e-06/1.194, allocations: 0 / 1.321 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of matching and sorting (n=110): time 0.005963/1.2, allocations: 2.41 MB / 1.323 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/1.2, allocations: 64.41 kB / 1.323 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00451/1.204, allocations: 2.533 MB / 1.326 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002385/1.204, allocations: 61.64 kB / 1.326 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/1.206, allocations: 1.276 MB / 1.327 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/1.206, allocations: 390.5 kB / 1.328 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/1.206, allocations: 32 kB / 1.328 GB, free: 2.145 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.206, allocations: 381.8 kB / 1.328 GB, free: 1.766 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002693/1.209, allocations: 0.9876 MB / 1.329 GB, free: 0.7773 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/1.212, allocations: 1.637 MB / 1.33 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/1.215, allocations: 1.208 MB / 1.332 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/1.215, allocations: 8 kB / 1.332 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007049/1.222, allocations: 2.875 MB / 1.334 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002195/1.224, allocations: 5.774 MB / 1.34 GB, free: 4.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/1.224, allocations: 16 kB / 1.34 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.637e-05/1.224, allocations: 24 kB / 1.34 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/1.228, allocations: 0.5812 MB / 1.341 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/1.229, allocations: 2.387 MB / 1.343 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004282/1.234, allocations: 452.3 kB / 1.343 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003647/1.234, allocations: 91.94 kB / 1.344 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/1.234, allocations: 7.938 kB / 1.344 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006429/1.24, allocations: 2.635 MB / 1.346 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-05/1.24, allocations: 16.03 kB / 1.346 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/1.241, allocations: 24 kB / 1.346 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/1.243, allocations: 0.5383 MB / 1.347 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.005e-05/1.243, allocations: 27.94 kB / 1.347 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003661/1.247, allocations: 380.6 kB / 1.347 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/1.247, allocations: 87.97 kB / 1.347 GB, free: 13.08 MB / 0.8855 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.00155/1.249, allocations: 0.6293 MB / 1.348 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007171/1.249, allocations: 268.7 kB / 1.348 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004663/1.254, allocations: 1.878 MB / 1.35 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.254, allocations: 19.92 kB / 1.35 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.254, allocations: 0 / 1.35 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/1.254, allocations: 7.984 kB / 1.35 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009101/1.263, allocations: 4.524 MB / 1.354 GB, free: 5.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/1.263, allocations: 4 kB / 1.354 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001933/1.265, allocations: 315.9 kB / 1.355 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-05/1.265, allocations: 12 kB / 1.355 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/1.265, allocations: 27.98 kB / 1.355 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/1.267, allocations: 2.367 MB / 1.357 GB, free: 2.777 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/1.267, allocations: 11.94 kB / 1.357 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004992/1.272, allocations: 2.502 MB / 1.359 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/1.274, allocations: 0.5482 MB / 1.36 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006026/1.274, allocations: 20 kB / 1.36 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002879/1.277, allocations: 285.5 kB / 1.36 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/1.277, allocations: 88.73 kB / 1.36 GB, free: 15 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/1.277, allocations: 59.95 kB / 1.36 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003831/1.281, allocations: 1.747 MB / 1.362 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.81e-07/1.281, allocations: 0 / 1.362 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006283/1.288, allocations: 1.298 MB / 1.363 GB, free: 11.89 MB / 0.9011 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.001251/1.289, allocations: 381.4 kB / 1.364 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.009485/1.298, allocations: 3.709 MB / 1.367 GB, free: 7.777 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/1.298, allocations: 0 / 1.367 GB, free: 7.777 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002077/1.301, allocations: 0.8236 MB / 1.368 GB, free: 6.953 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007397/1.308, allocations: 1.203 MB / 1.369 GB, free: 5.758 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009807/1.318, allocations: 5.009 MB / 1.374 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/1.32, allocations: 1.743 MB / 1.376 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004244/1.324, allocations: 0.7818 MB / 1.377 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007489/1.325, allocations: 199.4 kB / 1.377 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/1.325, allocations: 0 / 1.377 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of Templates: time 0.0749/1.399, allocations: 44.45 MB / 1.42 GB, free: 1.758 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)