Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006722/0.006722, allocations: 103.5 kB / 15.74 MB, free: 6.039 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.001439/0.00144, allocations: 198.1 kB / 16.68 MB, free: 5.953 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.378/1.378, allocations: 205.1 MB / 222.6 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.505/1.505, allocations: 251.7 MB / 0.5094 GB, free: 2.977 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.001481/0.001481, allocations: 67.89 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2075, allocations: 104.7 MB / 0.8281 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005179/0.2128, allocations: 4.16 MB / 0.8322 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003447/0.2162, allocations: 2.457 MB / 0.8346 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.2165, allocations: 19.94 kB / 0.8346 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.2179, allocations: 0.5324 MB / 0.8351 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.2183, allocations: 250 kB / 0.8353 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.2186, allocations: 143.8 kB / 0.8355 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007675/0.2193, allocations: 0.802 MB / 0.8362 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004289/0.2198, allocations: 338.4 kB / 0.8366 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.2201, allocations: 294.9 kB / 0.8369 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.2204, allocations: 334.5 kB / 0.8372 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.425e-05/0.2205, allocations: 76 kB / 0.8372 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.647e-05/0.2206, allocations: 72 kB / 0.8373 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.2208, allocations: 167.5 kB / 0.8375 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003106/0.2211, allocations: 386.2 kB / 0.8378 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008499/0.2219, allocations: 0.9889 MB / 0.8388 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.222, allocations: 0 / 0.8388 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.944e-06/0.222, allocations: 0 / 0.8388 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.222, allocations: 0 / 0.8388 GB, free: 5.156 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001423/0.2234, allocations: 0.9541 MB / 0.8397 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2235, allocations: 12.03 kB / 0.8398 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.2236, allocations: 72.09 kB / 0.8398 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.2242, allocations: 457.7 kB / 0.8403 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.2243, allocations: 33.38 kB / 0.8403 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.2244, allocations: 48.38 kB / 0.8403 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007195/0.2251, allocations: 434.8 kB / 0.8407 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.2251, allocations: 0 / 0.8407 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.2252, allocations: 23.94 kB / 0.8408 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.2252, allocations: 15.98 kB / 0.8408 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006754/0.2259, allocations: 367.8 kB / 0.8411 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.2278, allocations: 1.508 MB / 0.8426 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.2283, allocations: 343.7 kB / 0.8429 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/0.2288, allocations: 332.2 kB / 0.8433 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.2288, allocations: 4 kB / 0.8433 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.2289, allocations: 50.38 kB / 0.8433 GB, free: 368 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=42): time 1.493e-06/0.2289, allocations: 0 / 0.8433 GB, free: 368 kB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.0009323/0.2298, allocations: 493 kB / 0.8438 GB, free: 15.87 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.2299, allocations: 55.41 kB / 0.8438 GB, free: 15.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/0.2304, allocations: 485.9 kB / 0.8443 GB, free: 15.32 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.2305, allocations: 41.69 kB / 0.8443 GB, free: 15.27 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.2306, allocations: 272.4 kB / 0.8446 GB, free: 15 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.2308, allocations: 149.8 kB / 0.8447 GB, free: 14.85 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.235e-05/0.2309, allocations: 62.02 kB / 0.8448 GB, free: 14.78 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.231, allocations: 366.8 kB / 0.8451 GB, free: 14.41 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.2313, allocations: 116.7 kB / 0.8453 GB, free: 14.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.2315, allocations: 129.4 kB / 0.8454 GB, free: 14.18 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.232, allocations: 298 kB / 0.8457 GB, free: 13.88 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.232, allocations: 0 / 0.8457 GB, free: 13.88 MB / 0.67 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006251/0.2326, allocations: 400.1 kB / 0.846 GB, free: 13.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.2327, allocations: 10.81 kB / 0.8461 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2327, allocations: 3.984 kB / 0.8461 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2327, allocations: 0 / 0.8461 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.2332, allocations: 127.9 kB / 0.8462 GB, free: 13.35 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.2332, allocations: 4 kB / 0.8462 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.2334, allocations: 27.69 kB / 0.8462 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.2334, allocations: 16 kB / 0.8462 GB, free: 13.3 MB / 0.67 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0001991/0.2337, allocations: 201.7 kB / 0.8464 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.2337, allocations: 55.28 kB / 0.8465 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.2338, allocations: 61.09 kB / 0.8465 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2338, allocations: 4 kB / 0.8465 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2339, allocations: 4 kB / 0.8465 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2339, allocations: 0 / 0.8465 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.2345, allocations: 0.575 MB / 0.8471 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2345, allocations: 0 / 0.8471 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.235, allocations: 127.8 kB / 0.8472 GB, free: 12.22 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.235, allocations: 4 kB / 0.8472 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.2351, allocations: 7.984 kB / 0.8472 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.2351, allocations: 4 kB / 0.8472 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2351, allocations: 0 / 0.8472 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009497/0.236, allocations: 0.6479 MB / 0.8479 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.2362, allocations: 136.4 kB / 0.848 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.2362, allocations: 15.98 kB / 0.848 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.2364, allocations: 8 kB / 0.848 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.2365, allocations: 23.97 kB / 0.848 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.2365, allocations: 19.98 kB / 0.8481 GB, free: 11.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003909/0.2369, allocations: 347.1 kB / 0.8484 GB, free: 10.98 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2369, allocations: 0 / 0.8484 GB, free: 10.98 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000396/0.2373, allocations: 147.5 kB / 0.8485 GB, free: 10.84 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001369/0.2375, allocations: 111.2 kB / 0.8486 GB, free: 10.72 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005719/0.2381, allocations: 319.6 kB / 0.8489 GB, free: 10.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2381, allocations: 4 kB / 0.8489 GB, free: 10.41 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.2383, allocations: 179.8 kB / 0.8491 GB, free: 10.23 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.239, allocations: 125.9 kB / 0.8492 GB, free: 10.11 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.2408, allocations: 1.202 MB / 0.8504 GB, free: 8.879 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.2412, allocations: 0.8703 MB / 0.8513 GB, free: 7.98 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001712/0.2414, allocations: 56.33 kB / 0.8513 GB, free: 7.922 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.558e-05/0.2415, allocations: 39.38 kB / 0.8514 GB, free: 7.883 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/0.2415, allocations: 0 / 0.8514 GB, free: 7.883 MB / 0.67 GB Notification: Performance of Templates: time 0.01123/0.2528, allocations: 6.037 MB / 0.8573 GB, free: 2 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)