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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.724/2.724, allocations: 472.6 MB / 0.7451 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 58.05 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2725, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002314/0.2748, allocations: 1.427 MB / 1.07 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003848/0.2787, allocations: 2.898 MB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.2787, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.2788, allocations: 11.86 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.606e-05/0.2788, allocations: 11.86 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003324/0.2822, allocations: 1.593 MB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.432e-05/0.2823, allocations: 43.73 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.2823, allocations: 7.984 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.2823, allocations: 15.92 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.177e-05/0.2824, allocations: 23.86 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.2824, allocations: 0 / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.2843, allocations: 1.459 MB / 1.076 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.2843, allocations: 7.984 kB / 1.076 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.2843, allocations: 19.81 kB / 1.076 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.2856, allocations: 1.111 MB / 1.077 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2856, allocations: 0 / 1.077 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2856, allocations: 0 / 1.077 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.2856, allocations: 0 / 1.077 GB, free: 1.824 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.0005374/0.2862, allocations: 0.5223 MB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2862, allocations: 8.031 kB / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.795e-05/0.2863, allocations: 80.22 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2864, allocations: 253.1 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.2865, allocations: 158.9 kB / 1.078 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.2865, allocations: 150.9 kB / 1.078 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.937e-05/0.2866, allocations: 109.1 kB / 1.078 GB, free: 476 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.2866, allocations: 79.27 kB / 1.078 GB, free: 396 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.2867, allocations: 154.5 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.2867, allocations: 150.6 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.392e-05/0.2868, allocations: 154.6 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.287, allocations: 477.7 kB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.543e-05/0.2871, allocations: 165.1 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.2871, allocations: 88.19 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.2872, allocations: 83.28 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.2872, allocations: 109.8 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2872, allocations: 3.938 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 6.86e-05/0.2873, allocations: 33.64 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2874, allocations: 126.7 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2875, allocations: 135.5 kB / 1.08 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.2875, allocations: 25.7 kB / 1.08 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.2875, allocations: 96.12 kB / 1.08 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-06/0.2875, allocations: 0 / 1.08 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.2876, allocations: 17.72 kB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.2877, allocations: 322.8 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.2877, allocations: 0 / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.2877, allocations: 4 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.799e-05/0.2878, allocations: 20.92 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2878, allocations: 0 / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001195/0.2879, allocations: 69.44 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2879, allocations: 4 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.2879, allocations: 4 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.288, allocations: 0 / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.288, allocations: 0 / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.288, allocations: 0 / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.93e-05/0.288, allocations: 0 / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.288, allocations: 4 kB / 1.08 GB, free: 14.05 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 7.81e-05/0.2881, allocations: 181.7 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.2882, allocations: 124.8 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.2882, allocations: 108.8 kB / 1.081 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.71e-05/0.2883, allocations: 180.3 kB / 1.081 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.246e-05/0.2883, allocations: 180.2 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.757e-05/0.2884, allocations: 176.3 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.2886, allocations: 421.2 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.173e-05/0.2886, allocations: 108.9 kB / 1.082 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.2886, allocations: 101 kB / 1.082 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.936e-05/0.2887, allocations: 180.2 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.344e-05/0.2888, allocations: 188.2 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.117e-05/0.2888, allocations: 180.2 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.954e-05/0.2889, allocations: 184.2 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.289, allocations: 311.8 kB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.2891, allocations: 189.9 kB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/0.2891, allocations: 180.2 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.2892, allocations: 109 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.2893, allocations: 176.3 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.2893, allocations: 108.9 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.465e-05/0.2894, allocations: 104.5 kB / 1.083 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2894, allocations: 0 / 1.083 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006578/0.29, allocations: 287.7 kB / 1.084 GB, free: 10.12 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.000969/0.291, allocations: 0.5292 MB / 1.084 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.077e-05/0.2911, allocations: 41.7 kB / 1.084 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.2911, allocations: 0 / 1.084 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.2911, allocations: 0 / 1.084 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.2915, allocations: 475.6 kB / 1.085 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.2918, allocations: 239.3 kB / 1.085 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.292, allocations: 0.6885 MB / 1.086 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.265e-05/0.292, allocations: 4 kB / 1.086 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-06/0.292, allocations: 7.438 kB / 1.086 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.2921, allocations: 0 / 1.086 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of Templates: time 0.008947/0.301, allocations: 5.656 MB / 1.091 GB, free: 2.48 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)