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.005546/0.005546, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001271/0.001271, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.187/2.187, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7767/0.778, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes): time 0.1242/0.9022, allocations: 118.1 MB / 1.203 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.04317/0.9454, allocations: 27.8 MB / 1.23 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006124/0.9515, allocations: 126.9 kB / 1.231 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005353/0.957, allocations: 1.508 MB / 1.232 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01452/0.9715, allocations: 4.542 MB / 1.236 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01448/0.986, allocations: 3.121 MB / 1.24 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.016/1.002, allocations: 8.353 MB / 1.248 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005809/1.008, allocations: 2.64 MB / 1.25 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009434/1.017, allocations: 3.296 MB / 1.253 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005028/1.022, allocations: 2.283 MB / 1.256 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001575/1.024, allocations: 287.9 kB / 1.256 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009908/1.034, allocations: 2.823 MB / 1.259 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001419/1.035, allocations: 0.72 MB / 1.259 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003663/1.039, allocations: 1.664 MB / 1.261 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01208/1.051, allocations: 5.322 MB / 1.266 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/1.051, allocations: 0 / 1.266 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.174e-06/1.051, allocations: 0 / 1.266 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001813/1.051, allocations: 4 kB / 1.266 GB, free: 7.129 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.009245/1.061, allocations: 3.53 MB / 1.27 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.061, allocations: 8.031 kB / 1.27 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/1.062, allocations: 344.1 kB / 1.27 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/1.068, allocations: 2.595 MB / 1.273 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/1.068, allocations: 127.4 kB / 1.273 GB, free: 400 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004605/1.069, allocations: 172 kB / 1.273 GB, free: 228 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004286/1.073, allocations: 1.911 MB / 1.275 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/1.073, allocations: 0 / 1.275 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/1.073, allocations: 72 kB / 1.275 GB, free: 14.17 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/1.074, allocations: 55.92 kB / 1.275 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002689/1.076, allocations: 1.391 MB / 1.276 GB, free: 12.72 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.01412/1.09, allocations: 9.977 MB / 1.286 GB, free: 1.996 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/1.092, allocations: 0.9071 MB / 1.287 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000872/1.093, allocations: 0.5504 MB / 1.287 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00241/1.095, allocations: 3.064 MB / 1.29 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/1.095, allocations: 55.56 kB / 1.29 GB, free: 12.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=121): time 3.416e-06/1.095, allocations: 0 / 1.29 GB, free: 12.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=121): time 0.006705/1.102, allocations: 2.237 MB / 1.293 GB, free: 10.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/1.102, allocations: 64.41 kB / 1.293 GB, free: 10.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00388/1.106, allocations: 2.153 MB / 1.295 GB, free: 8.207 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/1.106, allocations: 53.64 kB / 1.295 GB, free: 8.148 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/1.107, allocations: 1.165 MB / 1.296 GB, free: 6.969 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004577/1.108, allocations: 433.7 kB / 1.296 GB, free: 6.539 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004497/1.108, allocations: 291.3 kB / 1.297 GB, free: 6.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.212e-05/1.108, allocations: 301.1 kB / 1.297 GB, free: 5.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000871/1.109, allocations: 468.6 kB / 1.297 GB, free: 5.492 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/1.11, allocations: 0.7948 MB / 1.298 GB, free: 4.566 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/1.113, allocations: 1.324 MB / 1.299 GB, free: 3.117 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/1.113, allocations: 0 / 1.299 GB, free: 3.117 MB / 1.029 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004661/1.117, allocations: 1.869 MB / 1.301 GB, free: 1.234 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.117, allocations: 8 kB / 1.301 GB, free: 1.227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.85e-05/1.117, allocations: 12 kB / 1.301 GB, free: 1.215 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001919/1.119, allocations: 380.9 kB / 1.302 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009871/1.12, allocations: 287.5 kB / 1.302 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/1.121, allocations: 0.8645 MB / 1.303 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/1.123, allocations: 170.3 kB / 1.303 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/1.123, allocations: 79.91 kB / 1.303 GB, free: 15.42 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001677/1.125, allocations: 0.8553 MB / 1.304 GB, free: 14.56 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001159/1.126, allocations: 0.7909 MB / 1.305 GB, free: 13.64 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002138/1.128, allocations: 1.308 MB / 1.306 GB, free: 12.21 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.013e-06/1.128, allocations: 3.938 kB / 1.306 GB, free: 12.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004741/1.133, allocations: 1.858 MB / 1.308 GB, free: 10.33 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.133, allocations: 14.19 kB / 1.308 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/1.133, allocations: 12 kB / 1.308 GB, free: 10.31 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/1.135, allocations: 392.6 kB / 1.308 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009627/1.136, allocations: 291.5 kB / 1.308 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/1.137, allocations: 0.8684 MB / 1.309 GB, free: 8.742 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/1.139, allocations: 114.9 kB / 1.309 GB, free: 8.629 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/1.139, allocations: 80.03 kB / 1.309 GB, free: 8.551 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.0003986/1.139, allocations: 271.8 kB / 1.31 GB, free: 8.277 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008375/1.14, allocations: 245 kB / 1.31 GB, free: 8.035 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005366/1.146, allocations: 2.378 MB / 1.312 GB, free: 5.664 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.254e-05/1.146, allocations: 23.98 kB / 1.312 GB, free: 5.641 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.146, allocations: 4 kB / 1.312 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003482/1.149, allocations: 1.79 MB / 1.314 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/1.16, allocations: 5.163 MB / 1.319 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-05/1.16, allocations: 11.98 kB / 1.319 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008741/1.161, allocations: 227.7 kB / 1.319 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/1.162, allocations: 300.7 kB / 1.32 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001596/1.162, allocations: 51.97 kB / 1.32 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/1.164, allocations: 0.8632 MB / 1.32 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/1.164, allocations: 12 kB / 1.32 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006477/1.17, allocations: 3.011 MB / 1.323 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.172, allocations: 0.5711 MB / 1.324 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007492/1.173, allocations: 43.92 kB / 1.324 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.174, allocations: 63.95 kB / 1.324 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/1.175, allocations: 137 kB / 1.324 GB, free: 8.992 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/1.175, allocations: 75.95 kB / 1.324 GB, free: 8.918 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003329/1.178, allocations: 1.578 MB / 1.326 GB, free: 7.336 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.2e-07/1.178, allocations: 3.938 kB / 1.326 GB, free: 7.332 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.005112/1.183, allocations: 1.455 MB / 1.327 GB, free: 5.875 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.002353/1.186, allocations: 0.9689 MB / 1.328 GB, free: 4.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005107/1.191, allocations: 2.423 MB / 1.331 GB, free: 2.438 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/1.191, allocations: 4 kB / 1.331 GB, free: 2.434 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/1.193, allocations: 1.043 MB / 1.332 GB, free: 1.371 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007498/1.2, allocations: 1.483 MB / 1.333 GB, free: 15.92 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00892/1.209, allocations: 4.867 MB / 1.338 GB, free: 10.95 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/1.211, allocations: 1.681 MB / 1.339 GB, free: 9.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002696/1.214, allocations: 0.6637 MB / 1.34 GB, free: 8.586 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006569/1.214, allocations: 235.3 kB / 1.34 GB, free: 8.355 MB / 1.076 GB Notification: Performance of SimCode: time 9.62e-07/1.214, allocations: 0 / 1.34 GB, free: 8.355 MB / 1.076 GB Notification: Performance of Templates: time 0.09914/1.314, allocations: 60.88 MB / 1.4 GB, free: 12.2 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)