Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.00112/0.00112, 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.001179/0.00118, allocations: 194.5 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 65.25 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2698, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002507/0.2724, allocations: 1.515 MB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004268/0.2767, allocations: 3.016 MB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.2767, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.2768, allocations: 3.938 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.2769, allocations: 15.84 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.2803, allocations: 1.396 MB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.473e-05/0.2804, allocations: 47.67 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.2804, allocations: 7.984 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.21e-05/0.2804, allocations: 11.94 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.705e-05/0.2805, allocations: 19.92 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.2805, allocations: 3.984 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.2826, allocations: 1.462 MB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.2826, allocations: 7.922 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.2826, allocations: 19.88 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.2843, allocations: 1.123 MB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2843, allocations: 11.94 kB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.52e-07/0.2843, allocations: 0 / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2843, allocations: 0 / 1.076 GB, free: 2.219 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.0006473/0.285, allocations: 0.5185 MB / 1.077 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.285, allocations: 15.97 kB / 1.077 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.2851, allocations: 76.22 kB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.2852, allocations: 251.5 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.2852, allocations: 154.9 kB / 1.077 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.2853, allocations: 154.9 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.847e-05/0.2854, allocations: 105.1 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.2854, allocations: 75.28 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.2854, allocations: 154.6 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/0.2855, allocations: 154.5 kB / 1.078 GB, free: 496 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.088e-05/0.2855, allocations: 158.5 kB / 1.078 GB, free: 336 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.2858, allocations: 465.8 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.641e-05/0.2859, allocations: 173.2 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.839e-05/0.2859, allocations: 80.14 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.286, allocations: 79.28 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.286, allocations: 109.8 kB / 1.079 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 2.175e-06/0.286, allocations: 0 / 1.079 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.343e-05/0.2861, allocations: 37.62 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.2862, allocations: 130.7 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.2863, allocations: 139.3 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2863, allocations: 29.7 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.2864, allocations: 92.14 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.2864, allocations: 0 / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.2864, allocations: 21.7 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2865, allocations: 314.8 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.2866, allocations: 4 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.2866, allocations: 11.98 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.2866, allocations: 16.8 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2867, allocations: 0 / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000121/0.2868, allocations: 53.55 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.2868, allocations: 8.062 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.2868, allocations: 4 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2868, allocations: 0 / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.295e-06/0.2868, allocations: 4.062 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2869, allocations: 3.984 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.2869, allocations: 4 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.2869, allocations: 0 / 1.079 GB, free: 14.45 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 8.308e-05/0.287, allocations: 181.1 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.287, allocations: 120.8 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.2871, allocations: 116.8 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-05/0.2872, allocations: 180.2 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.312e-05/0.2872, allocations: 180.2 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-05/0.2873, allocations: 176.3 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.2875, allocations: 421.2 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-05/0.2875, allocations: 104.9 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.2876, allocations: 109 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.428e-05/0.2876, allocations: 180.2 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/0.2877, allocations: 176.5 kB / 1.081 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.186e-05/0.2877, allocations: 184.2 kB / 1.082 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.489e-05/0.2878, allocations: 184.3 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.2879, allocations: 311.8 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.288, allocations: 185.9 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.288, allocations: 184.2 kB / 1.082 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.2881, allocations: 109 kB / 1.082 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.2882, allocations: 184.2 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.2882, allocations: 104.9 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.513e-05/0.2883, allocations: 101 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2883, allocations: 0 / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007459/0.2891, allocations: 287.8 kB / 1.083 GB, free: 10.52 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.00114/0.2902, allocations: 0.5325 MB / 1.084 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.764e-05/0.2903, allocations: 41.69 kB / 1.084 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2903, allocations: 0 / 1.084 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/0.2903, allocations: 3.938 kB / 1.084 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.2907, allocations: 0.5302 MB / 1.084 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.291, allocations: 246.5 kB / 1.084 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.2913, allocations: 0.6848 MB / 1.085 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.413e-05/0.2913, allocations: 4 kB / 1.085 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-06/0.2913, allocations: 7.438 kB / 1.085 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of SimCode: time 2.395e-06/0.2913, allocations: 0 / 1.085 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of Templates: time 0.00943/0.3007, allocations: 5.692 MB / 1.091 GB, free: 2.762 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)