Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008059/0.0008061, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005065/0.005065, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.366/1.366, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.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.729/1.729, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.00056/0.00056, allocations: 17.06 kB / 0.6743 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3042, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7611/1.065, allocations: 209.2 MB / 0.9922 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01199/1.077, allocations: 6.976 MB / 0.999 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002409/1.08, allocations: 41.34 kB / 0.999 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002745/1.083, allocations: 0.6489 MB / 0.9997 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008624/1.091, allocations: 2.34 MB / 1.002 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003821/1.095, allocations: 1.07 MB / 1.003 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005164/1.1, allocations: 3.726 MB / 1.007 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/1.102, allocations: 0.89 MB / 1.008 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004889/1.107, allocations: 1.755 MB / 1.009 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002793/1.11, allocations: 0.9109 MB / 1.01 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004051/1.11, allocations: 44.25 kB / 1.01 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005859/1.116, allocations: 2.795 MB / 1.013 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007136/1.117, allocations: 348.6 kB / 1.013 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001543/1.118, allocations: 0.6225 MB / 1.014 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006358/1.125, allocations: 2.518 MB / 1.016 GB, free: 356 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.125, allocations: 0 / 1.016 GB, free: 356 kB / 0.7325 GB Notification: Performance of FrontEnd: time 2.184e-06/1.125, allocations: 0 / 1.016 GB, free: 356 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.91e-05/1.125, allocations: 0 / 1.016 GB, free: 356 kB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005216/1.13, allocations: 1.604 MB / 1.018 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.13, allocations: 8.031 kB / 1.018 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00377/1.134, allocations: 0.5925 MB / 1.018 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/1.137, allocations: 0.9648 MB / 1.019 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006845/1.137, allocations: 203.2 kB / 1.02 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003612/1.138, allocations: 84.89 kB / 1.02 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/1.141, allocations: 1.269 MB / 1.021 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/1.141, allocations: 2.812 kB / 1.021 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/1.141, allocations: 29.16 kB / 1.021 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.702e-05/1.141, allocations: 48.77 kB / 1.021 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00404/1.146, allocations: 1.62 MB / 1.023 GB, free: 12.55 MB / 0.7481 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.007528/1.153, allocations: 4.087 MB / 1.027 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/1.156, allocations: 1.061 MB / 1.028 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/1.157, allocations: 0.698 MB / 1.028 GB, free: 8.457 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/1.159, allocations: 0.6367 MB / 1.029 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/1.159, allocations: 42.28 kB / 1.029 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 3.546e-06/1.159, allocations: 0 / 1.029 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.005165/1.164, allocations: 1.919 MB / 1.031 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/1.164, allocations: 62.25 kB / 1.031 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/1.165, allocations: 0.8217 MB / 1.032 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/1.165, allocations: 39.45 kB / 1.032 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/1.166, allocations: 439.4 kB / 1.032 GB, free: 5.945 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/1.166, allocations: 265.4 kB / 1.032 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/1.166, allocations: 63.41 kB / 1.032 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.166, allocations: 346.5 kB / 1.033 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/1.168, allocations: 0.5643 MB / 1.033 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/1.169, allocations: 0.6973 MB / 1.034 GB, free: 4.691 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/1.172, allocations: 1.222 MB / 1.035 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.172, allocations: 3.219 kB / 1.035 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003722/1.176, allocations: 1.432 MB / 1.037 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/1.176, allocations: 155.2 kB / 1.037 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.176, allocations: 4.062 kB / 1.037 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/1.176, allocations: 5.094 kB / 1.037 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/1.178, allocations: 278.4 kB / 1.037 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007318/1.179, allocations: 1.195 MB / 1.038 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/1.18, allocations: 196.1 kB / 1.038 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/1.18, allocations: 43.91 kB / 1.038 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/1.18, allocations: 0 / 1.038 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003453/1.184, allocations: 1.321 MB / 1.04 GB, free: 420 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/1.184, allocations: 3.938 kB / 1.04 GB, free: 416 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/1.184, allocations: 4 kB / 1.04 GB, free: 412 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/1.185, allocations: 255.8 kB / 1.04 GB, free: 156 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/1.185, allocations: 7.984 kB / 1.04 GB, free: 148 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.187, allocations: 191.2 kB / 1.04 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.389e-05/1.187, allocations: 31.92 kB / 1.04 GB, free: 15.93 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (86): * Single equations (assignments): 83 * 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.0006253/1.187, allocations: 373 kB / 1.041 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/1.188, allocations: 114.6 kB / 1.041 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003746/1.191, allocations: 1.433 MB / 1.042 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.191, allocations: 8 kB / 1.042 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/1.191, allocations: 7.938 kB / 1.042 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/1.191, allocations: 3.984 kB / 1.042 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006161/1.198, allocations: 2.922 MB / 1.045 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/1.198, allocations: 4 kB / 1.045 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/1.199, allocations: 252.2 kB / 1.045 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/1.199, allocations: 7.938 kB / 1.045 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/1.199, allocations: 23.98 kB / 1.045 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005767/1.2, allocations: 1.195 MB / 1.046 GB, free: 9.449 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.2, allocations: 7.938 kB / 1.046 GB, free: 9.441 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003534/1.203, allocations: 1.541 MB / 1.048 GB, free: 7.832 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005782/1.204, allocations: 311.5 kB / 1.048 GB, free: 7.508 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/1.204, allocations: 16 kB / 1.048 GB, free: 7.492 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.205, allocations: 167.7 kB / 1.048 GB, free: 7.328 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/1.205, allocations: 68.36 kB / 1.048 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.522e-05/1.206, allocations: 27.98 kB / 1.048 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008069/1.206, allocations: 0.57 MB / 1.049 GB, free: 6.652 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.7e-07/1.206, allocations: 4 kB / 1.049 GB, free: 6.648 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001536/1.208, allocations: 0.5224 MB / 1.049 GB, free: 6.125 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * 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.0006849/1.209, allocations: 291.4 kB / 1.05 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005672/1.214, allocations: 2.147 MB / 1.052 GB, free: 3.684 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/1.214, allocations: 4 kB / 1.052 GB, free: 3.68 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/1.216, allocations: 0.7028 MB / 1.053 GB, free: 2.98 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003436/1.22, allocations: 0.504 MB / 1.053 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004835/1.224, allocations: 2.561 MB / 1.056 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/1.225, allocations: 1.094 MB / 1.057 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001903/1.227, allocations: 391.5 kB / 1.057 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/1.227, allocations: 91.34 kB / 1.057 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/1.227, allocations: 0 / 1.057 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.03321/1.261, allocations: 20.01 MB / 1.077 GB, free: 10.53 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: