Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8887/0.8887, allocations: 127.4 MB / 134.9 MB, free: 3.484 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 192.2 kB / 164.6 MB, free: 11.6 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.2 MB / 399.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 90.45 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.753e-05/1.763e-05, allocations: 2.281 kB / 0.5466 GB, free: 95.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1698, allocations: 76.77 MB / 0.6215 GB, free: 43.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.336/4.506, allocations: 2.167 GB / 2.789 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/4.506, allocations: 83.95 kB / 2.789 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.526/8.032, allocations: 0.9793 GB / 3.768 GB, free: 47.35 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.144e-06/8.032, allocations: 4 kB / 3.768 GB, free: 47.34 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001131/8.033, allocations: 31.98 kB / 3.768 GB, free: 47.31 MB / 0.6667 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.005418/8.038, allocations: 1.728 MB / 3.77 GB, free: 45.53 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/8.038, allocations: 8.031 kB / 3.77 GB, free: 45.52 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003149/8.041, allocations: 0.5439 MB / 3.77 GB, free: 44.98 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/8.044, allocations: 1.051 MB / 3.771 GB, free: 43.89 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005862/8.044, allocations: 161.9 kB / 3.772 GB, free: 43.73 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/8.044, allocations: 55.98 kB / 3.772 GB, free: 43.67 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001726/8.046, allocations: 1.043 MB / 3.773 GB, free: 42.63 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/8.048, allocations: 1.022 MB / 3.774 GB, free: 41.59 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/8.048, allocations: 0 / 3.774 GB, free: 41.59 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.373e-05/8.048, allocations: 3.953 kB / 3.774 GB, free: 41.59 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/8.048, allocations: 41.98 kB / 3.774 GB, free: 41.55 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.006105/8.054, allocations: 3.985 MB / 3.778 GB, free: 37.31 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/8.055, allocations: 0.7469 MB / 3.778 GB, free: 36.55 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/8.056, allocations: 498.3 kB / 3.779 GB, free: 36.07 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009067/8.057, allocations: 0.6088 MB / 3.779 GB, free: 35.35 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/8.057, allocations: 51.28 kB / 3.779 GB, free: 35.29 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=75): time 3.477e-06/8.057, allocations: 3.703 kB / 3.779 GB, free: 35.29 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75): time 0.002592/8.059, allocations: 1.182 MB / 3.781 GB, free: 34.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/8.059, allocations: 60.19 kB / 3.781 GB, free: 34.03 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/8.06, allocations: 0.551 MB / 3.781 GB, free: 33.47 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.18e-05/8.06, allocations: 33.64 kB / 3.781 GB, free: 33.43 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/8.06, allocations: 464.2 kB / 3.782 GB, free: 32.97 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/8.06, allocations: 240.3 kB / 3.782 GB, free: 32.73 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/8.06, allocations: 4 kB / 3.782 GB, free: 32.73 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.821e-05/8.061, allocations: 334 kB / 3.782 GB, free: 32.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/8.061, allocations: 401.4 kB / 3.783 GB, free: 32 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/8.062, allocations: 0.534 MB / 3.783 GB, free: 31.43 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/8.063, allocations: 0.5822 MB / 3.784 GB, free: 30.85 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/8.063, allocations: 0 / 3.784 GB, free: 30.85 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002086/8.065, allocations: 1.19 MB / 3.785 GB, free: 29.65 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/8.065, allocations: 404.8 kB / 3.785 GB, free: 29.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/8.065, allocations: 0 / 3.785 GB, free: 29.22 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/8.065, allocations: 4 kB / 3.785 GB, free: 29.21 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/8.067, allocations: 431.5 kB / 3.786 GB, free: 28.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/8.069, allocations: 1.32 MB / 3.787 GB, free: 27.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/8.07, allocations: 183.3 kB / 3.787 GB, free: 27.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/8.07, allocations: 39.95 kB / 3.787 GB, free: 27.21 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/8.07, allocations: 5.719 kB / 3.787 GB, free: 27.2 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001754/8.072, allocations: 1.061 MB / 3.788 GB, free: 26.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/8.072, allocations: 0 / 3.788 GB, free: 26.14 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/8.072, allocations: 4 kB / 3.788 GB, free: 26.14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/8.073, allocations: 255.7 kB / 3.788 GB, free: 25.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/8.073, allocations: 4 kB / 3.788 GB, free: 25.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/8.074, allocations: 167.3 kB / 3.789 GB, free: 25.72 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/8.074, allocations: 39.97 kB / 3.789 GB, free: 25.68 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002384/8.075, allocations: 116.9 kB / 3.789 GB, free: 25.56 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/8.075, allocations: 94.88 kB / 3.789 GB, free: 25.47 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/8.077, allocations: 1.213 MB / 3.79 GB, free: 24.25 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/8.077, allocations: 8 kB / 3.79 GB, free: 24.24 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/8.077, allocations: 4 kB / 3.79 GB, free: 24.23 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/8.077, allocations: 3.984 kB / 3.79 GB, free: 24.23 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/8.081, allocations: 2.581 MB / 3.793 GB, free: 21.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/8.081, allocations: 7.938 kB / 3.793 GB, free: 21.56 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002422/8.083, allocations: 447.9 kB / 3.793 GB, free: 21.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/8.083, allocations: 8 kB / 3.793 GB, free: 21.11 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/8.084, allocations: 15.98 kB / 3.793 GB, free: 21.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003249/8.087, allocations: 2.892 MB / 3.796 GB, free: 17.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/8.087, allocations: 11.89 kB / 3.796 GB, free: 17.97 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/8.089, allocations: 1.485 MB / 3.797 GB, free: 16.33 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006486/8.09, allocations: 303.6 kB / 3.798 GB, free: 16.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/8.09, allocations: 7.938 kB / 3.798 GB, free: 16.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/8.091, allocations: 155.8 kB / 3.798 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/8.091, allocations: 68.38 kB / 3.798 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/8.091, allocations: 39.97 kB / 3.798 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005092/8.092, allocations: 431.1 kB / 3.798 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.91e-07/8.092, allocations: 0 / 3.798 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00195/8.094, allocations: 0.6706 MB / 3.799 GB, free: 14.66 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003186/8.097, allocations: 2.647 MB / 3.802 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003428/8.1, allocations: 1.771 MB / 3.803 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/8.1, allocations: 0 / 3.803 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/8.102, allocations: 0.6977 MB / 3.804 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/8.105, allocations: 424.1 kB / 3.804 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/8.117, allocations: 2.29 MB / 3.807 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/8.117, allocations: 1.108 MB / 3.808 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002032/8.119, allocations: 442.4 kB / 3.808 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/8.12, allocations: 79.39 kB / 3.808 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of SimCode: time 7.92e-07/8.12, allocations: 0 / 3.808 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of Templates: time 0.4869/8.607, allocations: 31.49 MB / 3.839 GB, free: 103.8 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)