Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001152/0.001152, allocations: 193 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.723/2.723, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 57.59 kB / 0.9113 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3062, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002549/0.3088, allocations: 1.545 MB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3101, allocations: 0.9308 MB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.3101, allocations: 7.938 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.3103, allocations: 39.81 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.506e-05/0.3104, allocations: 19.84 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.3108, allocations: 167 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.534e-05/0.3109, allocations: 43.73 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.311, allocations: 4 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.905e-05/0.311, allocations: 23.86 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.48e-05/0.3111, allocations: 11.88 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.3111, allocations: 4 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002865/0.3114, allocations: 147.8 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.3114, allocations: 7.938 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.3114, allocations: 15.88 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.3116, allocations: 131.9 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.3116, allocations: 0 / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3116, allocations: 0 / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.3116, allocations: 3.938 kB / 1.071 GB, free: 7.754 MB / 0.8262 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.0003532/0.312, allocations: 371.2 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3121, allocations: 8.031 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.3121, allocations: 84.22 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.3124, allocations: 263.4 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.34e-05/0.3125, allocations: 150.9 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.48e-05/0.3126, allocations: 154.9 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.428e-05/0.3126, allocations: 105.3 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.3127, allocations: 75.28 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.831e-05/0.3128, allocations: 158.5 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-05/0.3128, allocations: 158.5 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.013e-05/0.3129, allocations: 154.5 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.3132, allocations: 457.9 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.397e-05/0.3133, allocations: 173.1 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.3134, allocations: 80.14 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.3134, allocations: 75.28 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.3134, allocations: 117.7 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.3134, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.294e-05/0.3135, allocations: 33.75 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.3136, allocations: 130.7 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3138, allocations: 139 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3138, allocations: 25.7 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.3138, allocations: 88.12 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.3139, allocations: 0 / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.3139, allocations: 21.72 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.314, allocations: 310.8 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-05/0.3141, allocations: 15.98 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.3141, allocations: 0 / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.021e-05/0.3141, allocations: 20.8 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3141, allocations: 0 / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001515/0.3143, allocations: 49.53 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3143, allocations: 5.25 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.3143, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3144, allocations: 4 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.3144, allocations: 0 / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3144, allocations: 0 / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.3144, allocations: 4.062 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3144, allocations: 4 kB / 1.074 GB, free: 4.156 MB / 0.8262 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 0.0001276/0.3145, allocations: 185.1 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.3146, allocations: 116.7 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.3147, allocations: 116.6 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/0.3148, allocations: 184.3 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.977e-05/0.3149, allocations: 188.2 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.58e-05/0.3149, allocations: 176.3 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.3152, allocations: 421.1 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.637e-05/0.3153, allocations: 105.1 kB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.3153, allocations: 112.9 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.918e-05/0.3154, allocations: 180.2 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/0.3155, allocations: 180.3 kB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.058e-05/0.3155, allocations: 188.2 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.89e-05/0.3156, allocations: 176.3 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.3158, allocations: 303.8 kB / 1.076 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/0.3159, allocations: 197.9 kB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/0.316, allocations: 184.2 kB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/0.3161, allocations: 101 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.3162, allocations: 188.2 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.3162, allocations: 101 kB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.419e-05/0.3163, allocations: 101.1 kB / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3163, allocations: 4 kB / 1.077 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003057/0.3166, allocations: 35.94 kB / 1.077 GB, free: 472 kB / 0.8262 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.0002688/0.3169, allocations: 218.4 kB / 1.077 GB, free: 244 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.324e-05/0.317, allocations: 29.7 kB / 1.077 GB, free: 208 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.317, allocations: 0 / 1.077 GB, free: 208 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-06/0.317, allocations: 3.938 kB / 1.077 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.3175, allocations: 0.5411 MB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.3177, allocations: 236.6 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.318, allocations: 0.6848 MB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.318, allocations: 4 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/0.318, allocations: 7.438 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of SimCode: time 1.473e-06/0.318, allocations: 0 / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of Templates: time 0.003734/0.3218, allocations: 1.496 MB / 1.08 GB, free: 13.19 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)