Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007382/0.007382, allocations: 101.4 kB / 15.73 MB, free: 6.055 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.001216/0.001217, allocations: 200.2 kB / 16.68 MB, free: 5.969 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.624/1.624, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6353/0.6353, allocations: 95.47 MB / 365.4 MB, free: 9.781 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 64.42 kB / 0.5036 GB, free: 13.51 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1753, allocations: 69.1 MB / 0.5711 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7702/0.9454, allocations: 243.7 MB / 0.8091 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009141/0.9546, allocations: 4.063 MB / 0.8131 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002586/0.9573, allocations: 39.75 kB / 0.8131 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003417/0.9608, allocations: 0.8232 MB / 0.8139 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00928/0.9701, allocations: 2.258 MB / 0.8161 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007862/0.978, allocations: 2.648 MB / 0.8187 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005981/0.984, allocations: 3.246 MB / 0.8219 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/0.9866, allocations: 1.22 MB / 0.8231 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005022/0.9917, allocations: 1.642 MB / 0.8247 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003954/0.9956, allocations: 1.286 MB / 0.8259 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007091/0.9964, allocations: 156 kB / 0.8261 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007587/1.004, allocations: 2.803 MB / 0.8288 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001196/1.005, allocations: 0.557 MB / 0.8294 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00236/1.008, allocations: 0.8634 MB / 0.8302 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009428/1.017, allocations: 3.577 MB / 0.8337 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/1.017, allocations: 0 / 0.8337 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.314e-06/1.017, allocations: 0 / 0.8337 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.733e-05/1.017, allocations: 0 / 0.8337 GB, free: 1.254 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.006312/1.023, allocations: 2.187 MB / 0.8358 GB, free: 15 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/1.024, allocations: 15.98 kB / 0.8358 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006868/1.024, allocations: 182 kB / 0.836 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/1.026, allocations: 0.9915 MB / 0.837 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.278e-05/1.026, allocations: 82.22 kB / 0.8371 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/1.026, allocations: 123.9 kB / 0.8372 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002825/1.029, allocations: 1.416 MB / 0.8386 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/1.029, allocations: 0 / 0.8386 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/1.029, allocations: 48 kB / 0.8386 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.215e-05/1.029, allocations: 58.27 kB / 0.8387 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/1.033, allocations: 1.734 MB / 0.8404 GB, free: 10.27 MB / 0.6544 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.008171/1.041, allocations: 4.698 MB / 0.8449 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/1.043, allocations: 0.9384 MB / 0.8459 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/1.044, allocations: 0.574 MB / 0.8464 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002664/1.047, allocations: 2.24 MB / 0.8486 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.068e-05/1.047, allocations: 47.56 kB / 0.8487 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=97): time 3.607e-06/1.047, allocations: 0 / 0.8487 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of matching and sorting (n=97): time 0.003725/1.05, allocations: 1.627 MB / 0.8502 GB, free: 15.35 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/1.051, allocations: 64.41 kB / 0.8503 GB, free: 15.27 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/1.052, allocations: 1.03 MB / 0.8513 GB, free: 14.22 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/1.052, allocations: 49.7 kB / 0.8514 GB, free: 14.17 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/1.053, allocations: 0.5389 MB / 0.8519 GB, free: 13.62 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003705/1.053, allocations: 331.2 kB / 0.8522 GB, free: 13.29 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/1.053, allocations: 210.4 kB / 0.8524 GB, free: 13.08 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.054, allocations: 341.9 kB / 0.8527 GB, free: 12.74 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009746/1.055, allocations: 0.5086 MB / 0.8532 GB, free: 12.23 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/1.056, allocations: 0.6428 MB / 0.8539 GB, free: 11.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/1.058, allocations: 1.173 MB / 0.855 GB, free: 10.32 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/1.058, allocations: 0 / 0.855 GB, free: 10.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002842/1.061, allocations: 1.431 MB / 0.8564 GB, free: 8.875 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/1.061, allocations: 41.69 kB / 0.8564 GB, free: 8.828 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.061, allocations: 0 / 0.8564 GB, free: 8.828 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/1.061, allocations: 8.344 kB / 0.8564 GB, free: 8.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/1.062, allocations: 311.5 kB / 0.8567 GB, free: 8.516 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007451/1.063, allocations: 1.184 MB / 0.8579 GB, free: 7.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.064, allocations: 133.7 kB / 0.858 GB, free: 7.156 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/1.064, allocations: 52.03 kB / 0.8581 GB, free: 7.105 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001443/1.066, allocations: 0.7615 MB / 0.8588 GB, free: 6.34 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00106/1.067, allocations: 0.6429 MB / 0.8594 GB, free: 5.652 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001986/1.069, allocations: 1.165 MB / 0.8606 GB, free: 4.438 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.975e-06/1.069, allocations: 4 kB / 0.8606 GB, free: 4.434 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.002776/1.072, allocations: 1.427 MB / 0.862 GB, free: 2.992 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.298e-05/1.072, allocations: 41.77 kB / 0.862 GB, free: 2.945 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.072, allocations: 4 kB / 0.862 GB, free: 2.941 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/1.072, allocations: 15.92 kB / 0.862 GB, free: 2.926 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/1.073, allocations: 247.6 kB / 0.8623 GB, free: 2.684 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/1.073, allocations: 8 kB / 0.8623 GB, free: 2.676 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009755/1.074, allocations: 91.19 kB / 0.8624 GB, free: 2.586 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/1.074, allocations: 51.97 kB / 0.8624 GB, free: 2.535 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004624/1.074, allocations: 245.2 kB / 0.8627 GB, free: 2.289 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003208/1.075, allocations: 130.4 kB / 0.8628 GB, free: 2.16 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/1.078, allocations: 1.468 MB / 0.8642 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.078, allocations: 8 kB / 0.8642 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.078, allocations: 0 / 0.8642 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/1.078, allocations: 7.984 kB / 0.8642 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003978/1.082, allocations: 2.453 MB / 0.8666 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.082, allocations: 7.984 kB / 0.8666 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/1.083, allocations: 255.8 kB / 0.8669 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/1.083, allocations: 4 kB / 0.8669 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.017e-05/1.083, allocations: 31.92 kB / 0.8669 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006431/1.084, allocations: 1.172 MB / 0.8681 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.084, allocations: 12.14 kB / 0.8681 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/1.087, allocations: 1.325 MB / 0.8694 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/1.087, allocations: 375 kB / 0.8697 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/1.088, allocations: 20 kB / 0.8697 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008357/1.088, allocations: 47.95 kB / 0.8698 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.089, allocations: 76.89 kB / 0.8699 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.089, allocations: 59.89 kB / 0.8699 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001027/1.09, allocations: 0.7428 MB / 0.8706 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/1.09, allocations: 0 / 0.8706 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002663/1.092, allocations: 0.9361 MB / 0.8716 GB, free: 9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/1.094, allocations: 0.6144 MB / 0.8722 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004567/1.099, allocations: 2.102 MB / 0.8742 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.099, allocations: 4.938 kB / 0.8742 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/1.1, allocations: 0.6616 MB / 0.8749 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003649/1.104, allocations: 0.6763 MB / 0.8755 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/1.109, allocations: 2.236 MB / 0.8777 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/1.11, allocations: 1.183 MB / 0.8789 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002118/1.112, allocations: 468.6 kB / 0.8793 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/1.113, allocations: 127.4 kB / 0.8794 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of SimCode: time 2.855e-06/1.113, allocations: 4 kB / 0.8794 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of Templates: time 0.4439/1.557, allocations: 32.74 MB / 0.9114 GB, free: 265.9 MB / 0.7012 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)