Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.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.TwoBuriedPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemChWIn.T|senTemChWOut.T|senTemHotWIn.T|senTemHotWOut.T|gro.soi.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemChWIn.T|senTemChWOut.T|senTemHotWIn.T|senTemHotWOut.T|gro.soi.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007705/0.007706, allocations: 105.9 kB / 15.74 MB, free: 6.055 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.001905/0.001905, allocations: 191.5 kB / 16.67 MB, free: 5.969 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.261/2.261, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7868/0.7881, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes): time 0.1187/0.9068, allocations: 118.1 MB / 1.203 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.04219/0.949, allocations: 27.81 MB / 1.23 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006485/0.9556, allocations: 123.3 kB / 1.231 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005211/0.9608, allocations: 1.509 MB / 1.232 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01438/0.9753, allocations: 4.544 MB / 1.236 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.008759/0.984, allocations: 3.123 MB / 1.24 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01325/0.9973, allocations: 8.348 MB / 1.248 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004399/1.002, allocations: 2.644 MB / 1.25 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008569/1.01, allocations: 3.36 MB / 1.254 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004586/1.015, allocations: 2.291 MB / 1.256 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008403/1.016, allocations: 284 kB / 1.256 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007357/1.023, allocations: 2.827 MB / 1.259 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/1.024, allocations: 0.72 MB / 1.26 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002709/1.027, allocations: 1.664 MB / 1.261 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/1.037, allocations: 5.322 MB / 1.266 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.037, allocations: 0 / 1.266 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.995e-06/1.037, allocations: 0 / 1.266 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.374e-05/1.037, allocations: 0 / 1.266 GB, free: 7.02 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.006638/1.044, allocations: 3.538 MB / 1.27 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/1.044, allocations: 8.031 kB / 1.27 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009903/1.045, allocations: 340.1 kB / 1.27 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004456/1.049, allocations: 2.598 MB / 1.273 GB, free: 408 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.386e-05/1.049, allocations: 127.4 kB / 1.273 GB, free: 280 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/1.05, allocations: 176 kB / 1.273 GB, free: 104 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/1.053, allocations: 1.907 MB / 1.275 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/1.053, allocations: 0 / 1.275 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/1.053, allocations: 71.98 kB / 1.275 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.836e-05/1.053, allocations: 55.98 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/1.056, allocations: 1.395 MB / 1.276 GB, free: 12.6 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.0127/1.069, allocations: 9.981 MB / 1.286 GB, free: 1.871 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/1.07, allocations: 0.8993 MB / 1.287 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008104/1.071, allocations: 0.5426 MB / 1.287 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002347/1.073, allocations: 3.072 MB / 1.29 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/1.073, allocations: 47.56 kB / 1.29 GB, free: 12.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=121): time 3.768e-06/1.073, allocations: 4 kB / 1.291 GB, free: 12.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=121): time 0.006348/1.08, allocations: 2.248 MB / 1.293 GB, free: 10.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/1.08, allocations: 64.41 kB / 1.293 GB, free: 10.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003258/1.083, allocations: 2.153 MB / 1.295 GB, free: 8.082 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000185/1.083, allocations: 49.7 kB / 1.295 GB, free: 8.027 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009527/1.084, allocations: 1.161 MB / 1.296 GB, free: 6.852 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004414/1.085, allocations: 437.7 kB / 1.296 GB, free: 6.418 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004047/1.085, allocations: 287.3 kB / 1.297 GB, free: 6.133 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/1.085, allocations: 301.1 kB / 1.297 GB, free: 5.836 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008196/1.086, allocations: 468.6 kB / 1.297 GB, free: 5.375 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/1.087, allocations: 0.7947 MB / 1.298 GB, free: 4.449 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/1.089, allocations: 1.32 MB / 1.3 GB, free: 3.004 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/1.089, allocations: 0 / 1.3 GB, free: 3.004 MB / 1.029 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004441/1.094, allocations: 1.869 MB / 1.301 GB, free: 1.121 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/1.094, allocations: 10.34 kB / 1.301 GB, free: 1.113 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/1.094, allocations: 12 kB / 1.301 GB, free: 1.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/1.096, allocations: 380.9 kB / 1.302 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009787/1.097, allocations: 295.5 kB / 1.302 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/1.098, allocations: 0.8644 MB / 1.303 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.099, allocations: 174.2 kB / 1.303 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/1.1, allocations: 75.97 kB / 1.303 GB, free: 15.3 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001651/1.101, allocations: 0.8592 MB / 1.304 GB, free: 14.44 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001176/1.102, allocations: 0.7909 MB / 1.305 GB, free: 13.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002093/1.105, allocations: 1.312 MB / 1.306 GB, free: 12.08 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.897e-06/1.105, allocations: 4 kB / 1.306 GB, free: 12.08 MB / 1.045 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004552/1.109, allocations: 1.854 MB / 1.308 GB, free: 10.21 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.109, allocations: 15.94 kB / 1.308 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-05/1.109, allocations: 12 kB / 1.308 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001797/1.111, allocations: 384.5 kB / 1.308 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009368/1.112, allocations: 287.5 kB / 1.308 GB, free: 9.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/1.113, allocations: 0.8684 MB / 1.309 GB, free: 8.629 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/1.115, allocations: 118.9 kB / 1.309 GB, free: 8.512 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/1.115, allocations: 75.97 kB / 1.31 GB, free: 8.438 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 (166): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003957/1.115, allocations: 271.9 kB / 1.31 GB, free: 8.164 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007781/1.116, allocations: 245 kB / 1.31 GB, free: 7.922 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005214/1.121, allocations: 2.377 MB / 1.312 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-05/1.121, allocations: 23.98 kB / 1.312 GB, free: 5.527 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.121, allocations: 0 / 1.312 GB, free: 5.527 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003431/1.125, allocations: 1.802 MB / 1.314 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/1.135, allocations: 5.156 MB / 1.319 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.108e-05/1.135, allocations: 11.98 kB / 1.319 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008662/1.136, allocations: 231.6 kB / 1.319 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/1.137, allocations: 308.6 kB / 1.32 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/1.138, allocations: 47.98 kB / 1.32 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/1.139, allocations: 0.8606 MB / 1.321 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.139, allocations: 11.94 kB / 1.321 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005837/1.145, allocations: 3.003 MB / 1.324 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.146, allocations: 0.575 MB / 1.324 GB, free: 9.113 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007296/1.147, allocations: 39.98 kB / 1.324 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001852/1.149, allocations: 63.94 kB / 1.324 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/1.149, allocations: 137 kB / 1.324 GB, free: 8.879 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/1.149, allocations: 75.95 kB / 1.324 GB, free: 8.805 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003303/1.152, allocations: 1.578 MB / 1.326 GB, free: 7.223 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.153, allocations: 0 / 1.326 GB, free: 7.223 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004796/1.157, allocations: 1.462 MB / 1.327 GB, free: 5.758 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (pipChW.del.x,pipChW.timDel.x,pipChW.vol_b.dynBal.U,pipChW.vol_a.dynBal.U,senTemChWIn.T,senTemChWOut.T,pipHotW.del.x,pipHotW.timDel.x,pipHotW.vol_b.dynBal.U,pipHotW.vol_a.dynBal.U,senTemHotWIn.T,senTemHotWOut.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 (141): * 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: 1 * 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): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002121/1.159, allocations: 0.9817 MB / 1.328 GB, free: 4.785 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004884/1.164, allocations: 2.423 MB / 1.331 GB, free: 2.312 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/1.164, allocations: 4 kB / 1.331 GB, free: 2.309 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/1.166, allocations: 1.039 MB / 1.332 GB, free: 1.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007591/1.174, allocations: 1.466 MB / 1.333 GB, free: 15.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008318/1.182, allocations: 4.866 MB / 1.338 GB, free: 10.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/1.184, allocations: 1.685 MB / 1.34 GB, free: 9.121 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002828/1.187, allocations: 0.6712 MB / 1.34 GB, free: 8.469 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007442/1.188, allocations: 231.3 kB / 1.34 GB, free: 8.242 MB / 1.076 GB Notification: Performance of SimCode: time 9.42e-07/1.188, allocations: 0 / 1.34 GB, free: 8.242 MB / 1.076 GB Notification: Performance of Templates: time 0.09744/1.285, allocations: 60.89 MB / 1.4 GB, free: 12.09 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.sim & ./Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe 2>&1)