Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007414/0.007414, allocations: 97.5 kB / 15.73 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.00174/0.00174, allocations: 201.9 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.575/1.575, allocations: 251.7 MB / 0.5094 GB, free: 3.066 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.91 kB / 0.7258 GB, free: 9.121 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2089, allocations: 104.7 MB / 0.8281 GB, free: 312 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.00445/0.2134, allocations: 2.338 MB / 0.8303 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.2153, allocations: 1.041 MB / 0.8314 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.2155, allocations: 4 kB / 0.8314 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.2158, allocations: 55.56 kB / 0.8314 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.216, allocations: 83.33 kB / 0.8315 GB, free: 12.76 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Boreholes/BaseClasses/temperatureDrop.mo:2:1-107:20:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.temperatureDrop' contains a call to impure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.exchangeValues'. Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.2166, allocations: 163.5 kB / 0.8316 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.217, allocations: 290.8 kB / 0.8319 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.2172, allocations: 36.3 kB / 0.832 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.2174, allocations: 123.5 kB / 0.8321 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.2176, allocations: 107.5 kB / 0.8322 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.2176, allocations: 16 kB / 0.8322 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.218, allocations: 119.8 kB / 0.8323 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.2181, allocations: 51.77 kB / 0.8324 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.2183, allocations: 115.5 kB / 0.8325 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005432/0.2188, allocations: 319 kB / 0.8328 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2188, allocations: 0 / 0.8328 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.504e-06/0.2188, allocations: 0 / 0.8328 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.2189, allocations: 0 / 0.8328 GB, free: 11.44 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001185/0.22, allocations: 0.5927 MB / 0.8333 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.2201, allocations: 12.03 kB / 0.8334 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.697e-05/0.2202, allocations: 32.66 kB / 0.8334 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.2208, allocations: 295 kB / 0.8337 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.2208, allocations: 16.59 kB / 0.8337 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.2209, allocations: 24.36 kB / 0.8337 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.2214, allocations: 208.6 kB / 0.8339 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.2214, allocations: 0 / 0.8339 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.2214, allocations: 7.984 kB / 0.8339 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2214, allocations: 0 / 0.8339 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.2218, allocations: 111.8 kB / 0.834 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.223, allocations: 0.8645 MB / 0.8349 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.2235, allocations: 207.9 kB / 0.8351 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.2237, allocations: 78.61 kB / 0.8351 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.2238, allocations: 7.938 kB / 0.8352 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004328/0.2242, allocations: 193.8 kB / 0.8353 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.2242, allocations: 0 / 0.8353 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.0009011/0.2251, allocations: 361.4 kB / 0.8357 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.2252, allocations: 110.8 kB / 0.8358 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.2254, allocations: 254.3 kB / 0.836 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.2255, allocations: 45.78 kB / 0.8361 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2256, allocations: 140.5 kB / 0.8362 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.2257, allocations: 71.11 kB / 0.8363 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.2258, allocations: 78.06 kB / 0.8363 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2259, allocations: 334.8 kB / 0.8367 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.2261, allocations: 80.75 kB / 0.8367 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.2264, allocations: 259.2 kB / 0.837 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/0.227, allocations: 380.5 kB / 0.8374 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.227, allocations: 0 / 0.8374 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007135/0.2277, allocations: 406.9 kB / 0.8377 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/0.2278, allocations: 33.7 kB / 0.8378 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.2278, allocations: 8 kB / 0.8378 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.2278, allocations: 8 kB / 0.8378 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.2281, allocations: 63.84 kB / 0.8379 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.2281, allocations: 19.86 kB / 0.8379 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.2283, allocations: 43.92 kB / 0.8379 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.2284, allocations: 24 kB / 0.8379 GB, free: 5.656 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.2285, allocations: 155.9 kB / 0.8381 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.2286, allocations: 31.7 kB / 0.8381 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/0.2286, allocations: 21.72 kB / 0.8381 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2286, allocations: 3.984 kB / 0.8381 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.2286, allocations: 12.17 kB / 0.8381 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2286, allocations: 4 kB / 0.8382 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.2289, allocations: 269.4 kB / 0.8384 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2289, allocations: 0 / 0.8384 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.2291, allocations: 19.98 kB / 0.8384 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2291, allocations: 3.938 kB / 0.8384 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.2291, allocations: 11.98 kB / 0.8384 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2291, allocations: 4 kB / 0.8384 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.2291, allocations: 3.938 kB / 0.8385 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000859/0.23, allocations: 413.5 kB / 0.8388 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.2301, allocations: 96.77 kB / 0.8389 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.2301, allocations: 8.047 kB / 0.8389 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.2303, allocations: 19.97 kB / 0.839 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.2304, allocations: 31.91 kB / 0.839 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.2304, allocations: 8 kB / 0.839 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001498/0.2306, allocations: 170 kB / 0.8392 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2306, allocations: 0 / 0.8392 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004049/0.231, allocations: 79.91 kB / 0.8392 GB, free: 4.219 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003493/0.2313, allocations: 179.8 kB / 0.8394 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006131/0.232, allocations: 292.5 kB / 0.8397 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.232, allocations: 0 / 0.8397 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.2322, allocations: 103.9 kB / 0.8398 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.2326, allocations: 64.2 kB / 0.8399 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.2338, allocations: 0.5858 MB / 0.8404 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.2341, allocations: 0.7407 MB / 0.8411 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.2343, allocations: 51.08 kB / 0.8412 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.2343, allocations: 27.42 kB / 0.8412 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of SimCode: time 1.663e-06/0.2343, allocations: 7.938 kB / 0.8412 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of Templates: time 0.008565/0.2429, allocations: 3.998 MB / 0.8451 GB, free: 14.19 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)