Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001294, 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.001518/0.001518, allocations: 192.3 kB / 16.13 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.583/1.583, allocations: 251.6 MB / 0.5088 GB, free: 3.324 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001351/0.00135, allocations: 75.88 kB / 0.6216 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5624, allocations: 104.7 MB / 0.7239 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002756/0.5652, allocations: 1.497 MB / 0.7253 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004608/0.5698, allocations: 3.052 MB / 0.7283 GB, free: 8.727 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.5699, allocations: 0 / 0.7283 GB, free: 8.727 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.57, allocations: 3.938 kB / 0.7283 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.892e-05/0.5701, allocations: 19.84 kB / 0.7283 GB, free: 8.703 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.5738, allocations: 1.435 MB / 0.7297 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.958e-05/0.5739, allocations: 43.67 kB / 0.7298 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.574, allocations: 4 kB / 0.7298 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.941e-05/0.574, allocations: 15.94 kB / 0.7298 GB, free: 7.227 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.784e-05/0.574, allocations: 15.92 kB / 0.7298 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.5741, allocations: 3.938 kB / 0.7298 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.576, allocations: 1.443 MB / 0.7312 GB, free: 5.762 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.5761, allocations: 11.92 kB / 0.7312 GB, free: 5.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.5761, allocations: 15.86 kB / 0.7312 GB, free: 5.734 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.5775, allocations: 1.101 MB / 0.7323 GB, free: 4.633 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.5775, allocations: 4 kB / 0.7323 GB, free: 4.629 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.086e-06/0.5775, allocations: 3.984 kB / 0.7323 GB, free: 4.625 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.5775, allocations: 4 kB / 0.7323 GB, free: 4.621 MB / 0.545 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.0006019/0.5781, allocations: 0.5107 MB / 0.7328 GB, free: 4.062 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.5782, allocations: 8.031 kB / 0.7328 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.673e-05/0.5783, allocations: 84.12 kB / 0.7329 GB, free: 3.973 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.5784, allocations: 247.6 kB / 0.7332 GB, free: 3.691 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.5785, allocations: 154.9 kB / 0.7333 GB, free: 3.539 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.5786, allocations: 150.9 kB / 0.7334 GB, free: 3.391 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.917e-05/0.5786, allocations: 109.1 kB / 0.7336 GB, free: 3.277 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/0.5787, allocations: 83.22 kB / 0.7336 GB, free: 3.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.5788, allocations: 150.6 kB / 0.7338 GB, free: 3.047 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-05/0.5788, allocations: 150.6 kB / 0.7339 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.273e-05/0.5789, allocations: 158.5 kB / 0.7341 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.5792, allocations: 465.9 kB / 0.7345 GB, free: 2.238 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.77e-05/0.5793, allocations: 169.1 kB / 0.7347 GB, free: 2.062 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.793e-05/0.5794, allocations: 84.08 kB / 0.7348 GB, free: 1.977 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.5795, allocations: 79.28 kB / 0.7348 GB, free: 1.898 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.239e-05/0.5796, allocations: 113.8 kB / 0.7349 GB, free: 1.777 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.5796, allocations: 0 / 0.7349 GB, free: 1.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.205e-05/0.5796, allocations: 33.66 kB / 0.735 GB, free: 1.738 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.5797, allocations: 126.7 kB / 0.7351 GB, free: 1.602 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.5799, allocations: 136 kB / 0.7352 GB, free: 1.461 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.5799, allocations: 29.64 kB / 0.7353 GB, free: 1.426 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.58, allocations: 92.12 kB / 0.7353 GB, free: 1.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.58, allocations: 0 / 0.7353 GB, free: 1.332 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.58, allocations: 17.72 kB / 0.7354 GB, free: 1.309 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5801, allocations: 318.8 kB / 0.7357 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.5802, allocations: 11.94 kB / 0.7357 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.409e-05/0.5802, allocations: 0 / 0.7357 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.5802, allocations: 12.86 kB / 0.7357 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5802, allocations: 0 / 0.7357 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001296/0.5804, allocations: 57.56 kB / 0.7357 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5804, allocations: 4 kB / 0.7357 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.5804, allocations: 4 kB / 0.7357 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.5804, allocations: 0 / 0.7357 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.5804, allocations: 0 / 0.7357 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5805, allocations: 3.938 kB / 0.7358 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.5805, allocations: 4 kB / 0.7358 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.5805, allocations: 0 / 0.7358 GB, free: 0.8828 MB / 0.545 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.0001083/0.5806, allocations: 185.9 kB / 0.7359 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/0.5807, allocations: 120.9 kB / 0.736 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/0.5808, allocations: 112.8 kB / 0.7362 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.617e-05/0.5808, allocations: 180.2 kB / 0.7363 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.378e-05/0.5809, allocations: 176.3 kB / 0.7365 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.24e-05/0.581, allocations: 180.2 kB / 0.7367 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.5813, allocations: 421.2 kB / 0.7371 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.862e-05/0.5813, allocations: 108.9 kB / 0.7372 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/0.5814, allocations: 108.9 kB / 0.7373 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-05/0.5815, allocations: 176.3 kB / 0.7374 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-05/0.5816, allocations: 180.2 kB / 0.7376 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.367e-05/0.5817, allocations: 184.2 kB / 0.7378 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.74e-05/0.5817, allocations: 184.5 kB / 0.738 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.5819, allocations: 307.7 kB / 0.7383 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.916e-05/0.582, allocations: 198 kB / 0.7385 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/0.5821, allocations: 180.3 kB / 0.7386 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.5822, allocations: 105 kB / 0.7387 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.5823, allocations: 180.2 kB / 0.7389 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.5823, allocations: 101 kB / 0.739 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.291e-05/0.5824, allocations: 113.2 kB / 0.7391 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5824, allocations: 0 / 0.7391 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007354/0.5832, allocations: 275.8 kB / 0.7394 GB, free: 12.96 MB / 0.5606 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.001216/0.5844, allocations: 0.5507 MB / 0.7399 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.5845, allocations: 41.64 kB / 0.7399 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5845, allocations: 0 / 0.7399 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.5845, allocations: 0 / 0.7399 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.585, allocations: 0.5426 MB / 0.7405 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.5854, allocations: 233.7 kB / 0.7407 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.5857, allocations: 0.6887 MB / 0.7414 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.425e-05/0.5857, allocations: 0 / 0.7414 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/0.5858, allocations: 7.438 kB / 0.7414 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.5858, allocations: 0 / 0.7414 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.009704/0.5955, allocations: 5.572 MB / 0.7468 GB, free: 5.32 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)