Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001346/0.001346, allocations: 194.1 kB / 16.14 MB, free: 6.656 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.519/1.519, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 472.6 MB / 0.7447 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 66.7 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3341, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002582/0.3367, allocations: 1.503 MB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004223/0.3409, allocations: 2.965 MB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.341, allocations: 0 / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.341, allocations: 7.938 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.766e-05/0.3411, allocations: 7.922 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003377/0.3445, allocations: 1.373 MB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.352e-05/0.3446, allocations: 39.75 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.3446, allocations: 3.984 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.3446, allocations: 15.92 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.525e-05/0.3447, allocations: 15.88 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.3447, allocations: 0 / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.3467, allocations: 1.431 MB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.3467, allocations: 7.984 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.3468, allocations: 19.86 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.3483, allocations: 1.104 MB / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3483, allocations: 0 / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.32e-07/0.3483, allocations: 0 / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.3483, allocations: 0 / 1.076 GB, free: 2.418 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.0006005/0.3489, allocations: 0.5068 MB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3489, allocations: 16.03 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.349, allocations: 76.22 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.3492, allocations: 257 kB / 1.077 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/0.3492, allocations: 154.9 kB / 1.077 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.3493, allocations: 154.9 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.565e-05/0.3494, allocations: 109.1 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.3494, allocations: 79.28 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.463e-05/0.3494, allocations: 154.5 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/0.3495, allocations: 154.5 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.606e-05/0.3496, allocations: 150.6 kB / 1.078 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.3499, allocations: 469.8 kB / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.925e-05/0.35, allocations: 177.2 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.955e-05/0.35, allocations: 80.14 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.35, allocations: 75.28 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.3501, allocations: 117.7 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.3501, allocations: 0 / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.252e-05/0.3502, allocations: 37.7 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.3502, allocations: 130.7 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3504, allocations: 131.5 kB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.3504, allocations: 25.7 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.3505, allocations: 92.14 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.3505, allocations: 0 / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.3505, allocations: 13.72 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3506, allocations: 318.8 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.3507, allocations: 8 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.3507, allocations: 4 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.3507, allocations: 16.8 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3507, allocations: 0 / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000122/0.3509, allocations: 53.62 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3509, allocations: 4 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.3509, allocations: 4 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3509, allocations: 0 / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.3509, allocations: 0 / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3509, allocations: 0 / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.351, allocations: 7.969 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.351, allocations: 0 / 1.079 GB, free: 14.67 MB / 0.8419 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.0001026/0.3511, allocations: 189.1 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.3512, allocations: 112.9 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.3512, allocations: 112.6 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.317e-05/0.3513, allocations: 180.2 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.696e-05/0.3513, allocations: 184.3 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.095e-05/0.3514, allocations: 180.2 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.3516, allocations: 409.2 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/0.3517, allocations: 112.9 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.3517, allocations: 104.9 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.538e-05/0.3518, allocations: 180.3 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.859e-05/0.3519, allocations: 188.1 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.651e-05/0.3519, allocations: 184.4 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.143e-05/0.352, allocations: 176.3 kB / 1.081 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.3522, allocations: 323.7 kB / 1.082 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.3522, allocations: 189.9 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/0.3523, allocations: 180.2 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.3524, allocations: 101 kB / 1.082 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.3525, allocations: 188.2 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.3525, allocations: 105 kB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.497e-05/0.3526, allocations: 96.83 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3526, allocations: 4 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007391/0.3533, allocations: 283.8 kB / 1.083 GB, free: 10.74 MB / 0.8419 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.001185/0.3545, allocations: 0.5171 MB / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.3546, allocations: 37.64 kB / 1.083 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3547, allocations: 4 kB / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.3547, allocations: 4.062 kB / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.3551, allocations: 0.5358 MB / 1.084 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.3554, allocations: 242.5 kB / 1.084 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.3557, allocations: 0.6809 MB / 1.085 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.525e-05/0.3557, allocations: 0 / 1.085 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-06/0.3557, allocations: 11.44 kB / 1.085 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3557, allocations: 0 / 1.085 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of Templates: time 0.01004/0.3657, allocations: 5.474 MB / 1.09 GB, free: 3.215 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)