Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00473/0.00473, allocations: 98.98 kB / 15.73 MB, free: 6.031 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.001146/0.001146, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.2 MB / 0.6648 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.89 kB / 0.9508 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6999/0.7012, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.1195/0.8207, allocations: 118.5 MB / 1.204 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.04056/0.8613, allocations: 27.89 MB / 1.231 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005702/0.8671, allocations: 128.6 kB / 1.231 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004709/0.8718, allocations: 1.562 MB / 1.232 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0142/0.886, allocations: 4.81 MB / 1.237 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00878/0.8948, allocations: 3.163 MB / 1.24 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01271/0.9076, allocations: 8.493 MB / 1.249 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006113/0.9137, allocations: 2.68 MB / 1.251 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008621/0.9224, allocations: 3.421 MB / 1.255 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004796/0.9272, allocations: 2.334 MB / 1.257 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.9283, allocations: 288 kB / 1.257 GB, free: 480 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007735/0.9361, allocations: 2.839 MB / 1.26 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.9374, allocations: 0.7317 MB / 1.261 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003516/0.9409, allocations: 1.699 MB / 1.262 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.9521, allocations: 5.431 MB / 1.268 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.9521, allocations: 0 / 1.268 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9521, allocations: 4 kB / 1.268 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001719/0.9523, allocations: 0 / 1.268 GB, free: 5.73 MB / 0.9981 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.007865/0.9602, allocations: 3.682 MB / 1.271 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.9602, allocations: 11.97 kB / 1.271 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.9614, allocations: 369.8 kB / 1.271 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004961/0.9663, allocations: 2.684 MB / 1.274 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.192e-05/0.9664, allocations: 131.4 kB / 1.274 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/0.9667, allocations: 176 kB / 1.274 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/0.9699, allocations: 1.883 MB / 1.276 GB, free: 12.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/0.9699, allocations: 7.953 kB / 1.276 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.9701, allocations: 72 kB / 1.276 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.937e-05/0.9702, allocations: 48 kB / 1.276 GB, free: 12.47 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.9726, allocations: 1.387 MB / 1.278 GB, free: 11.08 MB / 1.014 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.01283/0.9854, allocations: 9.985 MB / 1.287 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.9871, allocations: 0.9219 MB / 1.288 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009008/0.988, allocations: 0.5286 MB / 1.289 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003028/0.9911, allocations: 3.08 MB / 1.292 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.8e-05/0.9911, allocations: 47.56 kB / 1.292 GB, free: 11.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=120): time 4.989e-06/0.9911, allocations: 0 / 1.292 GB, free: 11.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=120): time 0.006083/0.9972, allocations: 2.146 MB / 1.294 GB, free: 8.875 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.9973, allocations: 64.41 kB / 1.294 GB, free: 8.801 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004143/1.001, allocations: 2.248 MB / 1.296 GB, free: 6.543 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/1.002, allocations: 49.7 kB / 1.296 GB, free: 6.488 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/1.003, allocations: 1.195 MB / 1.298 GB, free: 5.281 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004619/1.003, allocations: 452 kB / 1.298 GB, free: 4.836 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004601/1.004, allocations: 291.4 kB / 1.298 GB, free: 4.547 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.004, allocations: 361.9 kB / 1.299 GB, free: 4.188 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000829/1.005, allocations: 456.6 kB / 1.299 GB, free: 3.738 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/1.006, allocations: 0.7791 MB / 1.3 GB, free: 2.828 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/1.008, allocations: 1.285 MB / 1.301 GB, free: 1.418 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/1.008, allocations: 0 / 1.301 GB, free: 1.418 MB / 1.029 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004294/1.012, allocations: 1.82 MB / 1.303 GB, free: 15.58 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.012, allocations: 10.34 kB / 1.303 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-05/1.012, allocations: 15.98 kB / 1.303 GB, free: 15.56 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/1.014, allocations: 310 kB / 1.303 GB, free: 15.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009722/1.015, allocations: 287.5 kB / 1.303 GB, free: 14.97 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/1.016, allocations: 1.3 MB / 1.305 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/1.018, allocations: 154.8 kB / 1.305 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/1.018, allocations: 75.97 kB / 1.305 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001593/1.019, allocations: 0.8514 MB / 1.306 GB, free: 12.54 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001159/1.021, allocations: 0.7792 MB / 1.306 GB, free: 11.62 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002096/1.023, allocations: 1.292 MB / 1.308 GB, free: 10.21 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.312e-06/1.023, allocations: 0 / 1.308 GB, free: 10.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.004231/1.027, allocations: 1.805 MB / 1.309 GB, free: 8.387 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.027, allocations: 8 kB / 1.31 GB, free: 8.379 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/1.027, allocations: 16 kB / 1.31 GB, free: 8.363 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/1.028, allocations: 309.4 kB / 1.31 GB, free: 8.055 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009483/1.029, allocations: 287.5 kB / 1.31 GB, free: 7.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009911/1.03, allocations: 1.3 MB / 1.311 GB, free: 6.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/1.032, allocations: 123.4 kB / 1.311 GB, free: 6.301 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/1.032, allocations: 75.97 kB / 1.312 GB, free: 6.227 MB / 1.045 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.0003885/1.033, allocations: 263.8 kB / 1.312 GB, free: 5.961 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008184/1.034, allocations: 274.2 kB / 1.312 GB, free: 5.691 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004953/1.039, allocations: 2.321 MB / 1.314 GB, free: 3.379 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.105e-05/1.039, allocations: 19.98 kB / 1.314 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.039, allocations: 0 / 1.314 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003159/1.042, allocations: 1.748 MB / 1.316 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/1.052, allocations: 5.118 MB / 1.321 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.375e-05/1.052, allocations: 12 kB / 1.321 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008975/1.053, allocations: 231.6 kB / 1.321 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/1.054, allocations: 229.7 kB / 1.322 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/1.054, allocations: 51.97 kB / 1.322 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009944/1.055, allocations: 1.296 MB / 1.323 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.055, allocations: 7.938 kB / 1.323 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005592/1.061, allocations: 2.953 MB / 1.326 GB, free: 7.297 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/1.062, allocations: 0.6 MB / 1.326 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000651/1.063, allocations: 39.95 kB / 1.326 GB, free: 6.637 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/1.065, allocations: 63.94 kB / 1.326 GB, free: 6.574 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/1.065, allocations: 133 kB / 1.327 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.065, allocations: 71.95 kB / 1.327 GB, free: 6.371 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003399/1.069, allocations: 1.647 MB / 1.328 GB, free: 4.723 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.21e-07/1.069, allocations: 0 / 1.328 GB, free: 4.723 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004428/1.073, allocations: 1.489 MB / 1.33 GB, free: 3.23 MB / 1.061 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.00208/1.075, allocations: 0.9904 MB / 1.331 GB, free: 2.246 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004087/1.079, allocations: 2.309 MB / 1.333 GB, free: 15.89 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.079, allocations: 0 / 1.333 GB, free: 15.89 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/1.081, allocations: 0.9928 MB / 1.334 GB, free: 14.88 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007061/1.088, allocations: 1.495 MB / 1.335 GB, free: 13.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007708/1.096, allocations: 5.027 MB / 1.34 GB, free: 8.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/1.097, allocations: 1.694 MB / 1.342 GB, free: 6.543 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002309/1.1, allocations: 0.6793 MB / 1.343 GB, free: 5.887 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005721/1.1, allocations: 247.3 kB / 1.343 GB, free: 5.648 MB / 1.076 GB Notification: Performance of SimCode: time 1.753e-06/1.1, allocations: 0 / 1.343 GB, free: 5.648 MB / 1.076 GB Notification: Performance of Templates: time 0.09507/1.195, allocations: 61.96 MB / 1.403 GB, free: 8.453 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.sim & ./Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)