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.007211/0.007217, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001706/0.001706, allocations: 196 kB / 16.68 MB, free: 5.965 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.315/1.315, 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.302/2.302, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.89 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7942/0.7954, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.1176/0.9131, allocations: 118.5 MB / 1.204 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.04038/0.9536, allocations: 27.89 MB / 1.231 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005478/0.9591, allocations: 128 kB / 1.231 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004802/0.9639, allocations: 1.524 MB / 1.232 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01297/0.9769, allocations: 4.599 MB / 1.237 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.009355/0.9863, allocations: 3.131 MB / 1.24 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01358/0.9999, allocations: 8.487 MB / 1.248 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005552/1.005, allocations: 2.668 MB / 1.251 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008242/1.014, allocations: 3.337 MB / 1.254 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004267/1.018, allocations: 2.326 MB / 1.256 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001086/1.019, allocations: 288 kB / 1.257 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007239/1.026, allocations: 2.839 MB / 1.259 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001377/1.028, allocations: 0.7356 MB / 1.26 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003537/1.031, allocations: 1.699 MB / 1.262 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/1.042, allocations: 5.404 MB / 1.267 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/1.042, allocations: 0 / 1.267 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/1.042, allocations: 0 / 1.267 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001324/1.042, allocations: 0 / 1.267 GB, free: 6.215 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.008207/1.051, allocations: 3.581 MB / 1.271 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.051, allocations: 15.97 kB / 1.271 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/1.052, allocations: 352 kB / 1.271 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005726/1.058, allocations: 2.654 MB / 1.274 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/1.058, allocations: 131.4 kB / 1.274 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003899/1.058, allocations: 180 kB / 1.274 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003763/1.062, allocations: 1.891 MB / 1.276 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.652e-05/1.062, allocations: 7.938 kB / 1.276 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/1.062, allocations: 68 kB / 1.276 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-05/1.062, allocations: 48 kB / 1.276 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/1.065, allocations: 1.383 MB / 1.277 GB, free: 11.71 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.01477/1.08, allocations: 9.971 MB / 1.287 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/1.082, allocations: 0.9138 MB / 1.288 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009188/1.083, allocations: 0.5325 MB / 1.288 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002516/1.085, allocations: 3.076 MB / 1.291 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/1.085, allocations: 47.56 kB / 1.291 GB, free: 11.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=120): time 4.378e-06/1.085, allocations: 0 / 1.291 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=120): time 0.006193/1.091, allocations: 2.133 MB / 1.293 GB, free: 9.531 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/1.091, allocations: 68.41 kB / 1.294 GB, free: 9.453 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004668/1.096, allocations: 2.252 MB / 1.296 GB, free: 7.191 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002975/1.096, allocations: 45.7 kB / 1.296 GB, free: 7.141 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001321/1.098, allocations: 1.174 MB / 1.297 GB, free: 5.953 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006975/1.099, allocations: 429.7 kB / 1.297 GB, free: 5.527 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006371/1.099, allocations: 287.3 kB / 1.298 GB, free: 5.242 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002201/1.099, allocations: 361.9 kB / 1.298 GB, free: 4.883 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009514/1.1, allocations: 456.6 kB / 1.298 GB, free: 4.434 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/1.102, allocations: 0.7753 MB / 1.299 GB, free: 3.527 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/1.104, allocations: 1.292 MB / 1.3 GB, free: 2.109 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/1.104, allocations: 4 kB / 1.3 GB, free: 2.105 MB / 1.029 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004841/1.109, allocations: 1.792 MB / 1.302 GB, free: 304 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/1.109, allocations: 8 kB / 1.302 GB, free: 296 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.081e-05/1.109, allocations: 19.92 kB / 1.302 GB, free: 276 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/1.111, allocations: 314 kB / 1.302 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.112, allocations: 287.5 kB / 1.303 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/1.113, allocations: 1.304 MB / 1.304 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/1.115, allocations: 150.5 kB / 1.304 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/1.115, allocations: 71.97 kB / 1.304 GB, free: 14.1 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001699/1.117, allocations: 0.8475 MB / 1.305 GB, free: 13.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001222/1.118, allocations: 0.7869 MB / 1.306 GB, free: 12.33 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002073/1.12, allocations: 1.289 MB / 1.307 GB, free: 10.92 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.677e-06/1.12, allocations: 4 kB / 1.307 GB, free: 10.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.004444/1.124, allocations: 1.792 MB / 1.309 GB, free: 9.105 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.124, allocations: 12 kB / 1.309 GB, free: 9.094 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/1.124, allocations: 15.94 kB / 1.309 GB, free: 9.078 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/1.126, allocations: 305.5 kB / 1.309 GB, free: 8.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009881/1.127, allocations: 287.5 kB / 1.309 GB, free: 8.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/1.128, allocations: 1.304 MB / 1.311 GB, free: 7.137 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/1.13, allocations: 119.2 kB / 1.311 GB, free: 7.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/1.13, allocations: 71.97 kB / 1.311 GB, free: 6.949 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.0004498/1.131, allocations: 267.8 kB / 1.311 GB, free: 6.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008996/1.131, allocations: 260.8 kB / 1.311 GB, free: 6.422 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005071/1.137, allocations: 2.321 MB / 1.314 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.945e-05/1.137, allocations: 23.98 kB / 1.314 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.137, allocations: 0 / 1.314 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003167/1.14, allocations: 1.736 MB / 1.315 GB, free: 2.297 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/1.15, allocations: 5.118 MB / 1.32 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-05/1.15, allocations: 12 kB / 1.32 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/1.151, allocations: 223.7 kB / 1.321 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/1.152, allocations: 229.8 kB / 1.321 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/1.152, allocations: 51.97 kB / 1.321 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/1.153, allocations: 1.296 MB / 1.322 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/1.153, allocations: 15.88 kB / 1.322 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005598/1.159, allocations: 2.932 MB / 1.325 GB, free: 8.055 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/1.16, allocations: 0.5906 MB / 1.326 GB, free: 7.441 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006617/1.161, allocations: 43.94 kB / 1.326 GB, free: 7.398 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/1.163, allocations: 59.86 kB / 1.326 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/1.163, allocations: 133 kB / 1.326 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/1.163, allocations: 75.95 kB / 1.326 GB, free: 7.133 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003169/1.166, allocations: 1.647 MB / 1.328 GB, free: 5.484 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.8e-07/1.166, allocations: 0 / 1.328 GB, free: 5.484 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.005114/1.171, allocations: 1.466 MB / 1.329 GB, free: 4.016 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.002282/1.174, allocations: 0.994 MB / 1.33 GB, free: 3.031 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004564/1.178, allocations: 2.309 MB / 1.332 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.178, allocations: 0 / 1.332 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/1.18, allocations: 0.9849 MB / 1.333 GB, free: 15.67 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007935/1.188, allocations: 1.491 MB / 1.335 GB, free: 14.21 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008596/1.197, allocations: 4.949 MB / 1.339 GB, free: 9.148 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/1.198, allocations: 1.702 MB / 1.341 GB, free: 7.414 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00314/1.202, allocations: 0.6734 MB / 1.342 GB, free: 6.766 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007614/1.202, allocations: 247.2 kB / 1.342 GB, free: 6.527 MB / 1.076 GB Notification: Performance of SimCode: time 1.412e-06/1.202, allocations: 0 / 1.342 GB, free: 6.527 MB / 1.076 GB Notification: Performance of Templates: time 0.1003/1.303, allocations: 61.96 MB / 1.402 GB, free: 9.34 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)