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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6243/0.6243, allocations: 117.9 MB / 133.9 MB, free: 4.477 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.0009662/0.0009662, allocations: 182.9 kB / 161.7 MB, free: 2.715 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.887/1.887, allocations: 205.4 MB / 394.8 MB, free: 21.12 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.001074/0.001074, allocations: 95.86 kB / 470.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004244, allocations: 12 kB / 0.5423 GB, free: 7.078 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4035, allocations: 74.55 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.731/6.134, allocations: 2.167 GB / 2.782 GB, free: 218 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/6.135, allocations: 90.02 kB / 2.782 GB, free: 217.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.172/9.307, allocations: 0.9803 GB / 3.762 GB, free: 79.26 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.484e-06/9.307, allocations: 3.281 kB / 3.762 GB, free: 79.26 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001705/9.307, allocations: 34.33 kB / 3.763 GB, free: 79.26 MB / 0.6511 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.006425/9.313, allocations: 1.878 MB / 3.764 GB, free: 78.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/9.314, allocations: 11.44 kB / 3.764 GB, free: 78.62 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/9.317, allocations: 0.5374 MB / 3.765 GB, free: 78.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/9.319, allocations: 1.102 MB / 3.766 GB, free: 78.24 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005671/9.32, allocations: 197.6 kB / 3.766 GB, free: 78.24 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/9.32, allocations: 88.12 kB / 3.766 GB, free: 78.24 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003923/9.324, allocations: 1.411 MB / 3.768 GB, free: 78.15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/9.324, allocations: 0 / 3.768 GB, free: 78.15 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/9.324, allocations: 35.56 kB / 3.768 GB, free: 78.15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-05/9.324, allocations: 44.98 kB / 3.768 GB, free: 78.15 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00418/9.329, allocations: 1.651 MB / 3.769 GB, free: 78.14 MB / 0.6511 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.006356/9.335, allocations: 4.08 MB / 3.773 GB, free: 76.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/9.338, allocations: 1.154 MB / 3.774 GB, free: 76.58 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/9.339, allocations: 0.7012 MB / 3.775 GB, free: 76.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007993/9.34, allocations: 0.6073 MB / 3.776 GB, free: 76 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/9.34, allocations: 43.03 kB / 3.776 GB, free: 75.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=77): time 2.525e-06/9.34, allocations: 4.625 kB / 3.776 GB, free: 75.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77): time 0.005164/9.345, allocations: 2.04 MB / 3.778 GB, free: 75.87 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/9.345, allocations: 59.66 kB / 3.778 GB, free: 75.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/9.346, allocations: 0.7985 MB / 3.779 GB, free: 75.65 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/9.346, allocations: 39.52 kB / 3.779 GB, free: 75.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/9.347, allocations: 457 kB / 3.779 GB, free: 75.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/9.347, allocations: 267.8 kB / 3.779 GB, free: 75.35 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/9.347, allocations: 14.97 kB / 3.779 GB, free: 75.35 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.562e-05/9.347, allocations: 335.4 kB / 3.78 GB, free: 75.04 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/9.348, allocations: 0.5886 MB / 3.78 GB, free: 75.04 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/9.35, allocations: 0.7337 MB / 3.781 GB, free: 74.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/9.353, allocations: 1.266 MB / 3.782 GB, free: 74.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/9.353, allocations: 2.281 kB / 3.782 GB, free: 74.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003215/9.356, allocations: 1.485 MB / 3.784 GB, free: 74.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.393e-05/9.356, allocations: 151.9 kB / 3.784 GB, free: 74.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/9.356, allocations: 0 / 3.784 GB, free: 74.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/9.356, allocations: 3.906 kB / 3.784 GB, free: 74.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/9.358, allocations: 434.1 kB / 3.784 GB, free: 74.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004557/9.363, allocations: 3.198 MB / 3.787 GB, free: 71.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/9.364, allocations: 209.4 kB / 3.787 GB, free: 71.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/9.365, allocations: 41.05 kB / 3.788 GB, free: 71.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.625e-06/9.365, allocations: 2.906 kB / 3.788 GB, free: 71.91 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002956/9.368, allocations: 1.333 MB / 3.789 GB, free: 71.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/9.368, allocations: 3.969 kB / 3.789 GB, free: 71.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.162e-06/9.368, allocations: 7.625 kB / 3.789 GB, free: 71.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/9.369, allocations: 250.1 kB / 3.789 GB, free: 71.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/9.369, allocations: 2.906 kB / 3.789 GB, free: 71.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/9.37, allocations: 194.8 kB / 3.789 GB, free: 71.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/9.37, allocations: 37.55 kB / 3.789 GB, free: 71.84 MB / 0.6511 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * 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.0006539/9.371, allocations: 371.2 kB / 3.79 GB, free: 71.65 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/9.371, allocations: 115.7 kB / 3.79 GB, free: 71.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/9.375, allocations: 1.493 MB / 3.791 GB, free: 71.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/9.375, allocations: 10.88 kB / 3.791 GB, free: 71.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/9.375, allocations: 2.25 kB / 3.791 GB, free: 71.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/9.375, allocations: 3.891 kB / 3.791 GB, free: 71.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005452/9.38, allocations: 2.942 MB / 3.794 GB, free: 71.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/9.38, allocations: 5.938 kB / 3.794 GB, free: 71.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002374/9.382, allocations: 444.1 kB / 3.795 GB, free: 71.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/9.382, allocations: 5.594 kB / 3.795 GB, free: 71.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-05/9.383, allocations: 29.7 kB / 3.795 GB, free: 71.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00378/9.386, allocations: 3.113 MB / 3.798 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/9.386, allocations: 3.562 kB / 3.798 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/9.39, allocations: 1.585 MB / 3.799 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007866/9.391, allocations: 306.8 kB / 3.799 GB, free: 67.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/9.391, allocations: 16.25 kB / 3.799 GB, free: 67.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/9.392, allocations: 168.2 kB / 3.8 GB, free: 67.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/9.392, allocations: 71.59 kB / 3.8 GB, free: 67.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/9.393, allocations: 32.59 kB / 3.8 GB, free: 67.97 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008465/9.393, allocations: 0.5538 MB / 3.8 GB, free: 67.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/9.393, allocations: 0 / 3.8 GB, free: 67.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002539/9.396, allocations: 0.7595 MB / 3.801 GB, free: 67.83 MB / 0.6511 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 75 * 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.003153/9.399, allocations: 2.397 MB / 3.803 GB, free: 66.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00601/9.405, allocations: 2.349 MB / 3.806 GB, free: 66.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/9.405, allocations: 3.656 kB / 3.806 GB, free: 66.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002842/9.408, allocations: 0.9282 MB / 3.807 GB, free: 66.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/9.411, allocations: 0.513 MB / 3.807 GB, free: 66.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/9.416, allocations: 2.514 MB / 3.81 GB, free: 65.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/9.416, allocations: 1.097 MB / 3.811 GB, free: 65.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001859/9.418, allocations: 390.7 kB / 3.811 GB, free: 65.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/9.418, allocations: 99.16 kB / 3.811 GB, free: 65.05 MB / 0.6511 GB Notification: Performance of SimCode: time 4.6e-07/9.418, allocations: 0 / 3.811 GB, free: 65.05 MB / 0.6511 GB Notification: Performance of Templates: time 0.0572/9.476, allocations: 46.53 MB / 3.857 GB, free: 62.81 MB / 0.6511 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)