Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.22/2.22, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 190.8 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 103.5 kB / 0.9329 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 51.52 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2436, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002114/0.2458, allocations: 1.494 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00306/0.2488, allocations: 3.006 MB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.2489, allocations: 0 / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.2489, allocations: 7.922 kB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.892e-05/0.249, allocations: 15.86 kB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.2516, allocations: 1.404 MB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.386e-05/0.2516, allocations: 43.69 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.239e-05/0.2517, allocations: 11.98 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.174e-05/0.2517, allocations: 15.94 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.237e-05/0.2517, allocations: 11.94 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 8.856e-06/0.2517, allocations: 3.938 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.2532, allocations: 1.47 MB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.2533, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.2533, allocations: 19.88 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009938/0.2543, allocations: 1.113 MB / 1.227 GB, free: 108.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2543, allocations: 0 / 1.227 GB, free: 108.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.51e-07/0.2543, allocations: 0 / 1.227 GB, free: 108.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.2543, allocations: 4 kB / 1.227 GB, free: 108.6 MB / 0.823 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.0004059/0.2547, allocations: 0.5224 MB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2548, allocations: 8.031 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.2548, allocations: 88.2 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2549, allocations: 252.8 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.255, allocations: 150.9 kB / 1.228 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.255, allocations: 154.9 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.648e-05/0.255, allocations: 105.1 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.2551, allocations: 75.28 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.2551, allocations: 162.4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.2551, allocations: 150.6 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/0.2552, allocations: 150.6 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.2553, allocations: 465.9 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.191e-05/0.2554, allocations: 169.1 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.2554, allocations: 84.12 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.2554, allocations: 79.22 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.2554, allocations: 117.8 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.2555, allocations: 3.938 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 6.832e-05/0.2555, allocations: 29.61 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.2556, allocations: 126.7 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2557, allocations: 134.8 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-06/0.2557, allocations: 25.7 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.2557, allocations: 96.12 kB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.2557, allocations: 0 / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.2557, allocations: 17.72 kB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.388e-05/0.2558, allocations: 318.8 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.2558, allocations: 4 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/0.2558, allocations: 11.94 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.01e-05/0.2559, allocations: 16.92 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2559, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.826e-05/0.256, allocations: 49.55 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.256, allocations: 8 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.256, allocations: 8.047 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.256, allocations: 0 / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.2561, allocations: 4 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2561, allocations: 0 / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.2561, allocations: 0 / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2561, allocations: 0 / 1.23 GB, free: 104.8 MB / 0.823 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 5.994e-05/0.2562, allocations: 189.8 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.2562, allocations: 112.8 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.2562, allocations: 120.8 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/0.2563, allocations: 180.2 kB / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.669e-05/0.2563, allocations: 180.3 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.2563, allocations: 180.3 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.2565, allocations: 413.3 kB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/0.2565, allocations: 120.9 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.519e-05/0.2565, allocations: 108.9 kB / 1.232 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.498e-05/0.2565, allocations: 180.3 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.2566, allocations: 176.3 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.573e-05/0.2566, allocations: 184.2 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.56e-05/0.2566, allocations: 180.2 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.2568, allocations: 0.8608 MB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.2569, allocations: 182 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.2569, allocations: 188.2 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.257, allocations: 105 kB / 1.234 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.257, allocations: 180.3 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.2571, allocations: 112.9 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.2571, allocations: 97.14 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.2571, allocations: 0 / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006462/0.2577, allocations: 299.6 kB / 1.234 GB, free: 100.3 MB / 0.823 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.0008303/0.2586, allocations: 0.5409 MB / 1.235 GB, free: 99.75 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.421e-05/0.2587, allocations: 37.7 kB / 1.235 GB, free: 99.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2587, allocations: 0 / 1.235 GB, free: 99.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.774e-06/0.2587, allocations: 0 / 1.235 GB, free: 99.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.259, allocations: 0.5307 MB / 1.235 GB, free: 99.17 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.2592, allocations: 247 kB / 1.235 GB, free: 98.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.2593, allocations: 0.6848 MB / 1.236 GB, free: 98.19 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.262e-05/0.2593, allocations: 3.906 kB / 1.236 GB, free: 98.19 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.776e-06/0.2594, allocations: 11.44 kB / 1.236 GB, free: 98.18 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/0.2594, allocations: 0 / 1.236 GB, free: 98.18 MB / 0.823 GB Notification: Performance of Templates: time 0.006781/0.2661, allocations: 5.693 MB / 1.242 GB, free: 92.54 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)