Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8559/0.8559, allocations: 143.4 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 183.5 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 92.27 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 268.2 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004654, allocations: 14.12 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2037, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.248/1.452, allocations: 402.9 MB / 1.167 GB, free: 193 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/1.452, allocations: 100.2 kB / 1.167 GB, free: 193 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.45/2.902, allocations: 0.5211 GB / 1.688 GB, free: 27.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.285e-06/2.902, allocations: 0 / 1.688 GB, free: 27.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001286/2.902, allocations: 32 kB / 1.688 GB, free: 27.36 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.004377/2.907, allocations: 1.967 MB / 1.69 GB, free: 25.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/2.907, allocations: 12.03 kB / 1.69 GB, free: 25.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004332/2.907, allocations: 178 kB / 1.69 GB, free: 25.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5082/3.415, allocations: 27.73 MB / 1.718 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/3.416, allocations: 102.2 kB / 1.718 GB, free: 104.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/3.416, allocations: 91.7 kB / 1.718 GB, free: 104.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/3.418, allocations: 1.127 MB / 1.719 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/3.418, allocations: 6.094 kB / 1.719 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/3.418, allocations: 40.62 kB / 1.719 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.712e-05/3.418, allocations: 41.92 kB / 1.719 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/3.419, allocations: 0.8505 MB / 1.72 GB, free: 104.6 MB / 0.7136 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.006331/3.426, allocations: 4.637 MB / 1.724 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009424/3.427, allocations: 0.5359 MB / 1.725 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006887/3.427, allocations: 0.9274 MB / 1.726 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/3.427, allocations: 47.48 kB / 1.726 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=56): time 3.327e-06/3.427, allocations: 2.25 kB / 1.726 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56): time 0.001606/3.429, allocations: 0.8488 MB / 1.727 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/3.429, allocations: 62.8 kB / 1.727 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/3.43, allocations: 1.059 MB / 1.728 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/3.43, allocations: 37.64 kB / 1.728 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000461/3.431, allocations: 0.6017 MB / 1.728 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/3.431, allocations: 200.8 kB / 1.728 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/3.431, allocations: 11.03 kB / 1.728 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.158e-05/3.431, allocations: 333 kB / 1.729 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/3.432, allocations: 242.6 kB / 1.729 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/3.432, allocations: 428 kB / 1.729 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/3.433, allocations: 314.2 kB / 1.73 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/3.433, allocations: 2.625 kB / 1.73 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001613/3.434, allocations: 0.7997 MB / 1.731 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003566/3.435, allocations: 1.603 MB / 1.732 GB, free: 98.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/3.435, allocations: 8.047 kB / 1.732 GB, free: 98.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/3.435, allocations: 7.906 kB / 1.732 GB, free: 98.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008884/3.436, allocations: 182.5 kB / 1.732 GB, free: 98.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006005/3.436, allocations: 1.185 MB / 1.733 GB, free: 97.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/3.438, allocations: 115.6 kB / 1.734 GB, free: 97.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.713e-05/3.438, allocations: 34.2 kB / 1.734 GB, free: 97.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/3.438, allocations: 3.75 kB / 1.734 GB, free: 97.4 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001444/3.439, allocations: 0.6644 MB / 1.734 GB, free: 97.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/3.439, allocations: 4.438 kB / 1.734 GB, free: 97.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/3.439, allocations: 7.312 kB / 1.734 GB, free: 97.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/3.44, allocations: 163.1 kB / 1.734 GB, free: 97.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/3.44, allocations: 10.92 kB / 1.734 GB, free: 97.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008857/3.441, allocations: 110.4 kB / 1.735 GB, free: 97.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/3.441, allocations: 30.05 kB / 1.735 GB, free: 97.37 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 initialization (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 prepare postOptimizeDAE: time 0.0009923/3.442, allocations: 0.4917 MB / 1.735 GB, free: 97.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/3.442, allocations: 133.5 kB / 1.735 GB, free: 97.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/3.444, allocations: 0.86 MB / 1.736 GB, free: 97.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/3.444, allocations: 7.344 kB / 1.736 GB, free: 97.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/3.444, allocations: 0 / 1.736 GB, free: 97.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001102/3.445, allocations: 0.6983 MB / 1.737 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/3.448, allocations: 1.935 MB / 1.739 GB, free: 96.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/3.448, allocations: 4.656 kB / 1.739 GB, free: 96.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/3.449, allocations: 142.2 kB / 1.739 GB, free: 96.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/3.449, allocations: 7.234 kB / 1.739 GB, free: 96.53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/3.449, allocations: 15.19 kB / 1.739 GB, free: 96.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003648/3.449, allocations: 1.175 MB / 1.74 GB, free: 95.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/3.449, allocations: 1.281 kB / 1.74 GB, free: 95.36 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/3.451, allocations: 1.271 MB / 1.741 GB, free: 95.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006584/3.452, allocations: 302.3 kB / 1.741 GB, free: 94.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/3.452, allocations: 12.72 kB / 1.741 GB, free: 94.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007563/3.453, allocations: 77.42 kB / 1.741 GB, free: 94.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/3.453, allocations: 44.77 kB / 1.742 GB, free: 94.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/3.453, allocations: 34.88 kB / 1.742 GB, free: 94.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001295/3.454, allocations: 0.8437 MB / 1.742 GB, free: 94.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/3.454, allocations: 0 / 1.742 GB, free: 94.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002197/3.456, allocations: 0.7111 MB / 1.743 GB, free: 94.76 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip1.vol[1].dynBal.U,pip2.vol[1].dynBal.U,senTem.T,senTem1.T) * 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 (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001207/3.458, allocations: 0.6279 MB / 1.744 GB, free: 94.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002277/3.46, allocations: 1.012 MB / 1.745 GB, free: 94.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/3.46, allocations: 6.125 kB / 1.745 GB, free: 94.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005844/3.461, allocations: 351.1 kB / 1.745 GB, free: 94.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/3.464, allocations: 0.7252 MB / 1.746 GB, free: 94.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/3.467, allocations: 3.066 MB / 1.749 GB, free: 93.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/3.468, allocations: 1.365 MB / 1.75 GB, free: 92.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001527/3.469, allocations: 441.4 kB / 1.75 GB, free: 92.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/3.47, allocations: 106.6 kB / 1.751 GB, free: 92.68 MB / 0.7136 GB Notification: Performance of SimCode: time 2.244e-06/3.47, allocations: 0 / 1.751 GB, free: 92.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.04078/3.51, allocations: 27.97 MB / 1.778 GB, free: 91.98 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)