Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7749/0.7749, allocations: 140.1 MB / 156 MB, free: 5.137 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009664/0.0009664, allocations: 190.9 kB / 188.5 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 426.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007477/0.0007476, allocations: 90.36 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001826/0.001826, allocations: 262.4 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004573, allocations: 16 kB / 0.6621 GB, free: 6.766 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4205, allocations: 79.31 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.5644, allocations: 115.8 MB / 0.8526 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003824/0.5648, allocations: 116.8 kB / 0.8527 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.04885/0.6137, allocations: 18.04 MB / 0.8703 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6138, allocations: 0 / 0.8703 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.169e-05/0.6138, allocations: 12 kB / 0.8703 GB, free: 8.145 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001146/0.6149, allocations: 0.6424 MB / 0.8709 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.615, allocations: 16.02 kB / 0.871 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.6151, allocations: 52.38 kB / 0.871 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005512/0.6157, allocations: 366.2 kB / 0.8714 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.6157, allocations: 16.81 kB / 0.8714 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.6158, allocations: 20.59 kB / 0.8714 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.6162, allocations: 203.8 kB / 0.8716 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.6162, allocations: 4.125 kB / 0.8716 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.6163, allocations: 7.938 kB / 0.8716 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.6163, allocations: 11.98 kB / 0.8716 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/0.6167, allocations: 181.6 kB / 0.8718 GB, free: 6.547 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.6181, allocations: 0.8701 MB / 0.8726 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.6184, allocations: 162.7 kB / 0.8728 GB, free: 5.434 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.6186, allocations: 112.8 kB / 0.8729 GB, free: 5.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.6186, allocations: 8 kB / 0.8729 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.6187, allocations: 30.56 kB / 0.8729 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 3.276e-06/0.6187, allocations: 3.984 kB / 0.8729 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0006011/0.6193, allocations: 266.6 kB / 0.8732 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.6193, allocations: 75.2 kB / 0.8733 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/0.6198, allocations: 409.7 kB / 0.8737 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.6199, allocations: 29.7 kB / 0.8737 GB, free: 4.477 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.62, allocations: 204.2 kB / 0.8739 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.22e-05/0.6201, allocations: 63.11 kB / 0.8739 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.6201, allocations: 0 / 0.8739 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6203, allocations: 350.8 kB / 0.8743 GB, free: 3.859 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.6204, allocations: 60.31 kB / 0.8743 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.6206, allocations: 63.92 kB / 0.8744 GB, free: 3.738 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.6209, allocations: 147.2 kB / 0.8745 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6209, allocations: 0 / 0.8745 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003965/0.6213, allocations: 219.8 kB / 0.8747 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.6213, allocations: 8 kB / 0.8747 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.6213, allocations: 0 / 0.8747 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.6214, allocations: 0 / 0.8747 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.6216, allocations: 59.89 kB / 0.8748 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.6216, allocations: 4 kB / 0.8748 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.6218, allocations: 23.83 kB / 0.8748 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.6219, allocations: 8 kB / 0.8748 GB, free: 3.273 MB / 0.5417 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.6221, allocations: 162.2 kB / 0.875 GB, free: 3.105 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.6221, allocations: 43.52 kB / 0.875 GB, free: 3.062 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.319e-05/0.6222, allocations: 43.53 kB / 0.8751 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.6222, allocations: 3.938 kB / 0.8751 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.6223, allocations: 0 / 0.8751 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6223, allocations: 0 / 0.8751 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.6227, allocations: 373.3 kB / 0.8754 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6227, allocations: 3.984 kB / 0.8754 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.623, allocations: 59.97 kB / 0.8755 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.623, allocations: 4 kB / 0.8755 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.6231, allocations: 4 kB / 0.8755 GB, free: 2.531 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.6231, allocations: 3.938 kB / 0.8755 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6231, allocations: 3.938 kB / 0.8755 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/0.6237, allocations: 392.2 kB / 0.8759 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.6239, allocations: 112.7 kB / 0.876 GB, free: 1.996 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.6239, allocations: 8 kB / 0.876 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.6241, allocations: 19.98 kB / 0.876 GB, free: 1.969 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.6242, allocations: 15.98 kB / 0.876 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.6242, allocations: 4 kB / 0.876 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003918/0.6246, allocations: 299.1 kB / 0.8763 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6246, allocations: 0 / 0.8763 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004009/0.625, allocations: 83.84 kB / 0.8764 GB, free: 1.578 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004557/0.6255, allocations: 272.7 kB / 0.8767 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003781/0.6258, allocations: 151.9 kB / 0.8768 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6259, allocations: 0 / 0.8768 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.626, allocations: 85.62 kB / 0.8769 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006066/0.6267, allocations: 85.39 kB / 0.877 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.6282, allocations: 0.8956 MB / 0.8778 GB, free: 72 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.6286, allocations: 0.7914 MB / 0.8786 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.6288, allocations: 38.94 kB / 0.8787 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.6288, allocations: 27.44 kB / 0.8787 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of SimCode: time 2.41e-07/0.6289, allocations: 0 / 0.8787 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.01151/0.6404, allocations: 5.312 MB / 0.8839 GB, free: 9.977 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)