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.SingleUTubeResistances.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.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00801/0.00801, allocations: 101.5 kB / 15.73 MB, free: 5.953 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.001669/0.00167, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.494/1.494, allocations: 205.1 MB / 222.5 MB, free: 4.344 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.543/1.543, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001491/0.001491, allocations: 71.91 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2025, allocations: 104.7 MB / 0.8281 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002489/0.205, allocations: 1.47 MB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.2064, allocations: 0.9432 MB / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.2065, allocations: 7.938 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.2067, allocations: 47.81 kB / 0.8305 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.583e-05/0.2067, allocations: 15.8 kB / 0.8305 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.2072, allocations: 194 kB / 0.8307 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.079e-05/0.2073, allocations: 51.67 kB / 0.8307 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.2073, allocations: 0 / 0.8307 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.2074, allocations: 27.91 kB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.73e-05/0.2074, allocations: 11.94 kB / 0.8308 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.2075, allocations: 3.938 kB / 0.8308 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003282/0.2078, allocations: 175.7 kB / 0.8309 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.2078, allocations: 0 / 0.8309 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.2078, allocations: 19.88 kB / 0.831 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.2081, allocations: 123.6 kB / 0.8311 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2081, allocations: 4 kB / 0.8311 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2081, allocations: 0 / 0.8311 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2081, allocations: 0 / 0.8311 GB, free: 13.11 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003367/0.2084, allocations: 375.1 kB / 0.8314 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.2085, allocations: 12.03 kB / 0.8314 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.2085, allocations: 80.12 kB / 0.8315 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.2087, allocations: 263.5 kB / 0.8318 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.2088, allocations: 158.9 kB / 0.8319 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.2088, allocations: 150.9 kB / 0.8321 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.755e-05/0.2089, allocations: 109.2 kB / 0.8322 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.2089, allocations: 75.28 kB / 0.8322 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/0.209, allocations: 150.6 kB / 0.8324 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/0.209, allocations: 150.6 kB / 0.8325 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.28e-05/0.2091, allocations: 154.6 kB / 0.8327 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.2093, allocations: 465.9 kB / 0.8331 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.042e-05/0.2094, allocations: 177.1 kB / 0.8333 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.2095, allocations: 80.14 kB / 0.8334 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.2095, allocations: 79.28 kB / 0.8334 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.2095, allocations: 109.8 kB / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2095, allocations: 0 / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.325e-05/0.2096, allocations: 37.59 kB / 0.8336 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.2097, allocations: 126.7 kB / 0.8337 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.2098, allocations: 144.3 kB / 0.8338 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.2098, allocations: 29.64 kB / 0.8339 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.2099, allocations: 92.14 kB / 0.834 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/0.2099, allocations: 0 / 0.834 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.2099, allocations: 21.66 kB / 0.834 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.21, allocations: 322.8 kB / 0.8343 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.21, allocations: 0 / 0.8343 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.366e-05/0.2101, allocations: 7.938 kB / 0.8343 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.301e-05/0.2101, allocations: 12.86 kB / 0.8343 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2101, allocations: 0 / 0.8343 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001105/0.2102, allocations: 57.56 kB / 0.8344 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2102, allocations: 8 kB / 0.8344 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.2103, allocations: 0 / 0.8344 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2103, allocations: 0 / 0.8344 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-07/0.2103, allocations: 0 / 0.8344 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.2103, allocations: 3.984 kB / 0.8344 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.2103, allocations: 7.938 kB / 0.8344 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.2103, allocations: 0 / 0.8344 GB, free: 9.488 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.609e-05/0.2104, allocations: 185.1 kB / 0.8346 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.2105, allocations: 116.9 kB / 0.8347 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.2105, allocations: 112.9 kB / 0.8348 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.301e-05/0.2106, allocations: 184.2 kB / 0.835 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-05/0.2106, allocations: 180.2 kB / 0.8351 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.134e-05/0.2107, allocations: 180.2 kB / 0.8353 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.2109, allocations: 417.2 kB / 0.8357 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.73e-05/0.2109, allocations: 101 kB / 0.8358 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.211, allocations: 112.9 kB / 0.8359 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-05/0.211, allocations: 180.2 kB / 0.8361 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.2111, allocations: 180.2 kB / 0.8362 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-05/0.2111, allocations: 176.3 kB / 0.8364 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-05/0.2112, allocations: 188.3 kB / 0.8366 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.2113, allocations: 307.7 kB / 0.8369 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/0.2114, allocations: 189.9 kB / 0.8371 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.2115, allocations: 184.3 kB / 0.8372 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.2115, allocations: 105 kB / 0.8373 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.2116, allocations: 184.2 kB / 0.8375 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.2116, allocations: 113 kB / 0.8376 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.476e-05/0.2117, allocations: 99.27 kB / 0.8377 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2117, allocations: 0 / 0.8377 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002753/0.212, allocations: 28 kB / 0.8377 GB, free: 5.809 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002483/0.2122, allocations: 214.4 kB / 0.8379 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.047e-05/0.2123, allocations: 45.64 kB / 0.838 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2123, allocations: 3.938 kB / 0.838 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-06/0.2123, allocations: 3.938 kB / 0.838 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.2127, allocations: 463.7 kB / 0.8384 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.2131, allocations: 233.7 kB / 0.8387 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.2133, allocations: 0.6883 MB / 0.8393 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.011e-05/0.2133, allocations: 4 kB / 0.8393 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.2133, allocations: 7.438 kB / 0.8393 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.2133, allocations: 0 / 0.8393 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of Templates: time 0.003494/0.2168, allocations: 1.512 MB / 0.8408 GB, free: 2.625 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)