Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009898/0.0009898, allocations: 176.5 kB / 16.76 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4442/0.4442, allocations: 86.27 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.3 MB / 348.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000895/0.000895, allocations: 97.05 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 16 kB / 0.4901 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3378, allocations: 71.02 MB / 0.5594 GB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9399/1.278, allocations: 404.6 MB / 0.9546 GB, free: 227.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/1.278, allocations: 97.31 kB / 0.9547 GB, free: 227.4 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/FixedResistances/Examples/PlugFlowPipeDiscretized.mo:21:3-32:69:writable] Error: Variable pip: Cyclically dependent constants or parameters found in scope IBPSA.Fluid.FixedResistances.PlugFlowPipeDiscretized$pip: {segLen,totLen} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd - DAE generated: time 16.64/17.91, allocations: 4.907 GB / 5.862 GB, free: 64.44 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.466e-06/17.91, allocations: 1.219 kB / 5.862 GB, free: 64.44 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.003068/17.92, allocations: 259 kB / 5.862 GB, free: 64.4 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: 1830 * Number of variables: 1830 Notification: Performance of Generate backend data structure: time 0.03976/17.96, allocations: 11.25 MB / 5.873 GB, free: 60.22 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/17.96, allocations: 9.312 kB / 5.873 GB, free: 60.22 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009638/17.97, allocations: 1.282 MB / 5.874 GB, free: 59.61 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04878/18.02, allocations: 21.72 MB / 5.896 GB, free: 57.54 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005736/18.02, allocations: 0.5295 MB / 5.896 GB, free: 57.53 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003058/18.02, allocations: 0.724 MB / 5.897 GB, free: 57.52 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0291/18.05, allocations: 10.64 MB / 5.907 GB, free: 56.43 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002807/18.05, allocations: 43.2 kB / 5.907 GB, free: 56.42 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001388/18.05, allocations: 302.5 kB / 5.908 GB, free: 56.42 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/18.05, allocations: 224.1 kB / 5.908 GB, free: 56.42 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01744/18.07, allocations: 8.486 MB / 5.916 GB, free: 56.36 MB / 0.6667 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.07319/18.14, allocations: 52.09 MB / 5.967 GB, free: 31.53 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006941/18.15, allocations: 4.801 MB / 5.972 GB, free: 31.36 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003527/18.15, allocations: 2.75 MB / 5.974 GB, free: 31.33 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001471/18.15, allocations: 1.72 MB / 5.976 GB, free: 29.54 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.715e-05/18.15, allocations: 88.42 kB / 5.976 GB, free: 29.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=420): time 6.933e-06/18.15, allocations: 0 / 5.976 GB, free: 29.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=420): time 0.01291/18.17, allocations: 7.589 MB / 5.984 GB, free: 28.93 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/18.17, allocations: 97.47 kB / 5.984 GB, free: 28.86 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01624/18.18, allocations: 9.844 MB / 5.993 GB, free: 28.34 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.001357/18.18, allocations: 114.7 kB / 5.993 GB, free: 28.31 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.004023/18.19, allocations: 4.664 MB / 5.998 GB, free: 26.86 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.002648/18.19, allocations: 1.485 MB / 5.999 GB, free: 25.91 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004478/18.19, allocations: 101.5 kB / 5.999 GB, free: 25.91 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0004065/18.19, allocations: 0.5272 MB / 6 GB, free: 25.59 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003742/18.19, allocations: 2.572 MB / 6.002 GB, free: 25.58 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004466/18.2, allocations: 4.133 MB / 6.006 GB, free: 23.56 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008255/18.21, allocations: 7.259 MB / 6.014 GB, free: 19.42 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.645e-05/18.21, allocations: 13.81 kB / 6.014 GB, free: 19.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01271/18.22, allocations: 7.807 MB / 6.021 GB, free: 16.64 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007257/18.22, allocations: 1.502 MB / 6.023 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/18.22, allocations: 73.84 kB / 6.023 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.125e-05/18.22, allocations: 75.91 kB / 6.023 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004145/18.23, allocations: 1.2 MB / 6.024 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001095/18.23, allocations: 105.1 kB / 6.024 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009914/18.24, allocations: 1.042 MB / 6.025 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/18.24, allocations: 286.4 kB / 6.025 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/18.24, allocations: 7.797 kB / 6.025 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01181/18.25, allocations: 7.049 MB / 6.032 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002463/18.25, allocations: 71.25 kB / 6.032 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.37e-05/18.25, allocations: 75.12 kB / 6.032 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004268/18.25, allocations: 1.203 MB / 6.034 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00014/18.25, allocations: 109.4 kB / 6.034 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009744/18.26, allocations: 0.9463 MB / 6.035 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/18.26, allocations: 286.6 kB / 6.035 GB, free: 11.1 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00946/18.27, allocations: 4.083 MB / 6.039 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00358/18.28, allocations: 0.8347 MB / 6.04 GB, free: 8.895 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01747/18.29, allocations: 8.727 MB / 6.048 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.962e-05/18.29, allocations: 78.45 kB / 6.048 GB, free: 5.797 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/18.29, allocations: 0 / 6.048 GB, free: 5.797 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007707/18.3, allocations: 5.937 MB / 6.054 GB, free: 3.18 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05576/18.36, allocations: 20.09 MB / 6.074 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001075/18.36, allocations: 42.8 kB / 6.074 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003916/18.36, allocations: 0.9498 MB / 6.075 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.252e-05/18.36, allocations: 28 kB / 6.075 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005648/18.36, allocations: 187.8 kB / 6.075 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.831e-05/18.36, allocations: 43.34 kB / 6.075 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/18.36, allocations: 19.94 kB / 6.075 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7596/19.12, allocations: 11.33 MB / 6.086 GB, free: 72.63 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008637/19.13, allocations: 2.412 MB / 6.088 GB, free: 72.54 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004449/19.14, allocations: 145.2 kB / 6.088 GB, free: 72.54 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01136/19.15, allocations: 0.7239 MB / 6.089 GB, free: 72.54 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002515/19.15, allocations: 0.5259 MB / 6.09 GB, free: 72.53 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001168/19.15, allocations: 269.8 kB / 6.09 GB, free: 72.53 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.01937/19.17, allocations: 7.713 MB / 6.098 GB, free: 72.25 MB / 0.6824 GB Notification: Performance of sort global known variables: time 5.11e-07/19.17, allocations: 0 / 6.098 GB, free: 72.25 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.02696/19.2, allocations: 4.989 MB / 6.102 GB, free: 72.15 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 59 * Number of states: 42 (pip.pipSeg[1].del.x,pip.pipSeg[1].timDel.x,pip.pipSeg[1].vol_b.dynBal.U,pip.pipSeg[1].vol_a.dynBal.U,pip.pipSeg[2].del.x,pip.pipSeg[2].timDel.x,pip.pipSeg[2].vol_b.dynBal.U,pip.pipSeg[2].vol_a.dynBal.U,pip.pipSeg[3].del.x,pip.pipSeg[3].timDel.x,pip.pipSeg[3].vol_b.dynBal.U,pip.pipSeg[3].vol_a.dynBal.U,pip.pipSeg[4].del.x,pip.pipSeg[4].timDel.x,pip.pipSeg[4].vol_b.dynBal.U,pip.pipSeg[4].vol_a.dynBal.U,pip.pipSeg[5].del.x,pip.pipSeg[5].timDel.x,pip.pipSeg[5].vol_b.dynBal.U,pip.pipSeg[5].vol_a.dynBal.U,pip.pipSeg[6].del.x,pip.pipSeg[6].timDel.x,pip.pipSeg[6].vol_b.dynBal.U,pip.pipSeg[6].vol_a.dynBal.U,pip.pipSeg[7].del.x,pip.pipSeg[7].timDel.x,pip.pipSeg[7].vol_b.dynBal.U,pip.pipSeg[7].vol_a.dynBal.U,pip.pipSeg[8].del.x,pip.pipSeg[8].timDel.x,pip.pipSeg[8].vol_b.dynBal.U,pip.pipSeg[8].vol_a.dynBal.U,pip.pipSeg[9].del.x,pip.pipSeg[9].timDel.x,pip.pipSeg[9].vol_b.dynBal.U,pip.pipSeg[9].vol_a.dynBal.U,pip.pipSeg[10].del.x,pip.pipSeg[10].timDel.x,pip.pipSeg[10].vol_b.dynBal.U,pip.pipSeg[10].vol_a.dynBal.U,senTemOut.T,senTemIn.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 (536): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 86 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003679/19.2, allocations: 1.041 MB / 6.103 GB, free: 72.03 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.02067/19.22, allocations: 11.06 MB / 6.114 GB, free: 70.64 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.35e-05/19.22, allocations: 6.094 kB / 6.114 GB, free: 70.64 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.01037/19.23, allocations: 6.328 MB / 6.12 GB, free: 70 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05999/19.29, allocations: 6.477 MB / 6.127 GB, free: 69.92 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05525/19.35, allocations: 27.06 MB / 6.153 GB, free: 60.5 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01325/19.36, allocations: 7.361 MB / 6.16 GB, free: 59.45 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.02251/19.38, allocations: 5.762 MB / 6.166 GB, free: 59.04 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004722/19.39, allocations: 0.9162 MB / 6.167 GB, free: 59.03 MB / 0.6824 GB Notification: Performance of SimCode: time 8.42e-07/19.39, allocations: 0 / 6.167 GB, free: 59.03 MB / 0.6824 GB Notification: Performance of Templates: time 0.7375/20.13, allocations: 222.1 MB / 6.384 GB, free: 103 MB / 0.7137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe 2>&1)