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/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.28/1.28, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009415/0.0009413, allocations: 174.5 kB / 327.6 MB, free: 2.133 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 0.5785 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007444/0.0007444, allocations: 102.6 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 17.28 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1574, allocations: 106.3 MB / 0.9012 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.3004, allocations: 134.8 MB / 1.033 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.3006, allocations: 91.94 kB / 1.033 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01145/0.3121, allocations: 3.384 MB / 1.036 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3121, allocations: 0 / 1.036 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3121, allocations: 0 / 1.036 GB, free: 5.156 MB / 0.6823 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.0003607/0.3125, allocations: 393.6 kB / 1.037 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3125, allocations: 8.031 kB / 1.037 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.3126, allocations: 80.12 kB / 1.037 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.3128, allocations: 271.5 kB / 1.037 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/0.3128, allocations: 154.9 kB / 1.037 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.3129, allocations: 154.9 kB / 1.037 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.828e-05/0.313, allocations: 101.5 kB / 1.037 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.313, allocations: 75.47 kB / 1.037 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/0.313, allocations: 162.4 kB / 1.038 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.471e-05/0.3131, allocations: 150.6 kB / 1.038 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.185e-05/0.3131, allocations: 150.6 kB / 1.038 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.3134, allocations: 461.9 kB / 1.038 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.923e-05/0.3135, allocations: 169.1 kB / 1.039 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.3135, allocations: 84.08 kB / 1.039 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.3136, allocations: 79.28 kB / 1.039 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.3136, allocations: 109.8 kB / 1.039 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3136, allocations: 0 / 1.039 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.396e-05/0.3137, allocations: 37.58 kB / 1.039 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.3137, allocations: 126.7 kB / 1.039 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3139, allocations: 148.6 kB / 1.039 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.3139, allocations: 25.7 kB / 1.039 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.3139, allocations: 88.14 kB / 1.039 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.3139, allocations: 0 / 1.039 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.3139, allocations: 0 / 1.039 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3141, allocations: 318.9 kB / 1.039 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.3141, allocations: 4 kB / 1.039 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.393e-05/0.3141, allocations: 11.94 kB / 1.039 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.129e-05/0.3141, allocations: 16.89 kB / 1.04 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3141, allocations: 0 / 1.04 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001042/0.3143, allocations: 53.62 kB / 1.04 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3143, allocations: 7.938 kB / 1.04 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.3143, allocations: 7.984 kB / 1.04 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3143, allocations: 0 / 1.04 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.3143, allocations: 0 / 1.04 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.3143, allocations: 0 / 1.04 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.3144, allocations: 0 / 1.04 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.3144, allocations: 3.938 kB / 1.04 GB, free: 1.547 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.429e-05/0.3145, allocations: 197.1 kB / 1.04 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.3145, allocations: 112.8 kB / 1.04 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.3146, allocations: 108.8 kB / 1.04 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-05/0.3146, allocations: 184.2 kB / 1.04 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.913e-05/0.3147, allocations: 176.3 kB / 1.04 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-05/0.3148, allocations: 184.3 kB / 1.041 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.315, allocations: 417.1 kB / 1.041 GB, free: 92 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.62e-05/0.315, allocations: 101 kB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.3151, allocations: 104.9 kB / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.728e-05/0.3151, allocations: 180.2 kB / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-05/0.3152, allocations: 188.2 kB / 1.041 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.083e-05/0.3152, allocations: 188.2 kB / 1.042 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.492e-05/0.3153, allocations: 176.3 kB / 1.042 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.3154, allocations: 303.8 kB / 1.042 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.3155, allocations: 193.9 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.924e-05/0.3156, allocations: 188.2 kB / 1.042 GB, free: 14.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.978e-05/0.3157, allocations: 105 kB / 1.043 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.3157, allocations: 180.2 kB / 1.043 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.3158, allocations: 101 kB / 1.043 GB, free: 14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.653e-05/0.3158, allocations: 103.2 kB / 1.043 GB, free: 13.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3158, allocations: 0 / 1.043 GB, free: 13.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002819/0.3161, allocations: 35.94 kB / 1.043 GB, free: 13.87 MB / 0.698 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 (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.0002809/0.3164, allocations: 238.3 kB / 1.043 GB, free: 13.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.79e-05/0.3165, allocations: 45.97 kB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3165, allocations: 0 / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.3165, allocations: 0 / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.317, allocations: 0.5323 MB / 1.044 GB, free: 13.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.3173, allocations: 249.1 kB / 1.044 GB, free: 12.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.3175, allocations: 0.6848 MB / 1.045 GB, free: 12.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.145e-05/0.3175, allocations: 3.984 kB / 1.045 GB, free: 12.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.081e-05/0.3175, allocations: 7.438 kB / 1.045 GB, free: 12.04 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.3175, allocations: 4 kB / 1.045 GB, free: 12.04 MB / 0.698 GB Notification: Performance of Templates: time 0.003681/0.3212, allocations: 1.566 MB / 1.046 GB, free: 10.51 MB / 0.698 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)