Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 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.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001372, allocations: 105.2 kB / 16.36 MB, free: 5.824 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.001504/0.001504, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.541/2.541, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002225, allocations: 64.28 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.372, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe): time 0.9394/1.311, allocations: 118.5 MB / 1.142 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.04441/1.356, allocations: 27.88 MB / 1.17 GB, free: 72 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007923/1.364, allocations: 123.5 kB / 1.17 GB, free: 28 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006592/1.371, allocations: 1.53 MB / 1.171 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01918/1.39, allocations: 4.601 MB / 1.176 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01222/1.402, allocations: 3.132 MB / 1.179 GB, free: 9.203 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01754/1.42, allocations: 8.48 MB / 1.187 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005593/1.425, allocations: 2.673 MB / 1.19 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01131/1.437, allocations: 3.335 MB / 1.193 GB, free: 456 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006674/1.443, allocations: 2.335 MB / 1.195 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001318/1.445, allocations: 289.4 kB / 1.195 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009987/1.455, allocations: 2.835 MB / 1.198 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002013/1.457, allocations: 0.7333 MB / 1.199 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.004529/1.461, allocations: 1.7 MB / 1.201 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01343/1.475, allocations: 5.396 MB / 1.206 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/1.475, allocations: 0 / 1.206 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.194e-06/1.475, allocations: 0 / 1.206 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001281/1.475, allocations: 4 kB / 1.206 GB, free: 7.332 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.008123/1.483, allocations: 3.581 MB / 1.209 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.483, allocations: 8.031 kB / 1.209 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/1.484, allocations: 352 kB / 1.21 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005138/1.489, allocations: 2.658 MB / 1.212 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.375e-05/1.489, allocations: 131.4 kB / 1.212 GB, free: 476 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/1.49, allocations: 175.9 kB / 1.213 GB, free: 300 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/1.493, allocations: 1.89 MB / 1.214 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.158e-05/1.493, allocations: 11.89 kB / 1.215 GB, free: 14.32 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/1.493, allocations: 80 kB / 1.215 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.418e-05/1.493, allocations: 47.94 kB / 1.215 GB, free: 14.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/1.496, allocations: 1.379 MB / 1.216 GB, free: 12.82 MB / 0.92 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.01473/1.511, allocations: 9.975 MB / 1.226 GB, free: 2.094 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/1.512, allocations: 0.9108 MB / 1.227 GB, free: 1.172 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008064/1.513, allocations: 0.5383 MB / 1.227 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002602/1.516, allocations: 3.072 MB / 1.23 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/1.516, allocations: 47.56 kB / 1.23 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=120): time 3.005e-06/1.516, allocations: 3.938 kB / 1.23 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=120): time 0.005703/1.522, allocations: 2.122 MB / 1.232 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/1.522, allocations: 72.33 kB / 1.232 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00377/1.526, allocations: 2.248 MB / 1.235 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002527/1.526, allocations: 49.7 kB / 1.235 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000989/1.527, allocations: 1.177 MB / 1.236 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005259/1.527, allocations: 441.7 kB / 1.236 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004183/1.528, allocations: 283.3 kB / 1.236 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.528, allocations: 357.9 kB / 1.237 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007706/1.529, allocations: 456.6 kB / 1.237 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/1.53, allocations: 0.7753 MB / 1.238 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/1.532, allocations: 1.292 MB / 1.239 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.532, allocations: 4 kB / 1.239 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004317/1.536, allocations: 1.8 MB / 1.241 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/1.536, allocations: 12.56 kB / 1.241 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/1.536, allocations: 12 kB / 1.241 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/1.538, allocations: 309.4 kB / 1.241 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009098/1.539, allocations: 283.5 kB / 1.242 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/1.54, allocations: 1.311 MB / 1.243 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/1.542, allocations: 150.5 kB / 1.243 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/1.542, allocations: 75.97 kB / 1.243 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001803/1.544, allocations: 0.8475 MB / 1.244 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001073/1.545, allocations: 0.7832 MB / 1.245 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001854/1.547, allocations: 1.281 MB / 1.246 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.837e-06/1.547, allocations: 4 kB / 1.246 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.004314/1.551, allocations: 1.792 MB / 1.248 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.551, allocations: 11.94 kB / 1.248 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/1.551, allocations: 12 kB / 1.248 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/1.552, allocations: 309.7 kB / 1.248 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.553, allocations: 291.5 kB / 1.248 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/1.554, allocations: 1.296 MB / 1.25 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/1.556, allocations: 123.1 kB / 1.25 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/1.557, allocations: 71.97 kB / 1.25 GB, free: 8.059 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (165): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004818/1.557, allocations: 271.8 kB / 1.25 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007103/1.558, allocations: 256.8 kB / 1.25 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004658/1.562, allocations: 2.33 MB / 1.252 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/1.563, allocations: 27.97 kB / 1.252 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.563, allocations: 0 / 1.252 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002922/1.565, allocations: 1.74 MB / 1.254 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/1.576, allocations: 5.122 MB / 1.259 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.639e-05/1.576, allocations: 11.98 kB / 1.259 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008198/1.577, allocations: 223.7 kB / 1.259 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000942/1.578, allocations: 222.1 kB / 1.26 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/1.578, allocations: 55.91 kB / 1.26 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009302/1.579, allocations: 1.307 MB / 1.261 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.579, allocations: 11.98 kB / 1.261 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005295/1.584, allocations: 2.944 MB / 1.264 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/1.586, allocations: 0.5867 MB / 1.264 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004657/1.586, allocations: 32 kB / 1.264 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.587, allocations: 59.95 kB / 1.265 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/1.588, allocations: 137 kB / 1.265 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/1.588, allocations: 75.95 kB / 1.265 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002587/1.59, allocations: 1.647 MB / 1.266 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.01e-07/1.59, allocations: 8 kB / 1.266 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00448/1.595, allocations: 1.47 MB / 1.268 GB, free: 5.113 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,senTemInl.T,senTemOut.T,pipRev.del.x,pipRev.timDel.x,pipRev.vol_b.dynBal.U,pipRev.vol_a.dynBal.U,senTemOutRev.T,senTemInlRev.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 (142): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002061/1.597, allocations: 0.9891 MB / 1.269 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004057/1.601, allocations: 2.302 MB / 1.271 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/1.601, allocations: 0 / 1.271 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/1.603, allocations: 0.9792 MB / 1.272 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007013/1.61, allocations: 1.491 MB / 1.273 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007496/1.617, allocations: 4.956 MB / 1.278 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/1.619, allocations: 1.706 MB / 1.28 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002814/1.622, allocations: 0.669 MB / 1.281 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005615/1.622, allocations: 243.3 kB / 1.281 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of SimCode: time 1.313e-06/1.622, allocations: 4 kB / 1.281 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of Templates: time 0.09791/1.72, allocations: 61.59 MB / 1.341 GB, free: 10.82 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)