Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001359/0.001359, allocations: 117.4 kB / 16.42 MB, free: 6.465 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.001245/0.001245, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002137/0.002137, allocations: 286.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9367/0.9367, allocations: 169.3 MB / 0.499 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 87.86 kB / 0.6822 GB, free: 6.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4038, allocations: 86.99 MB / 0.7671 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002397/0.4063, allocations: 1.431 MB / 0.7685 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004172/0.4104, allocations: 2.893 MB / 0.7714 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.4105, allocations: 0 / 0.7714 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.4105, allocations: 7.938 kB / 0.7714 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.353e-05/0.4106, allocations: 23.78 kB / 0.7714 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003856/0.4145, allocations: 1.586 MB / 0.7729 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.234e-05/0.4146, allocations: 47.67 kB / 0.773 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.4146, allocations: 0 / 0.773 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.4147, allocations: 11.94 kB / 0.773 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.653e-05/0.4147, allocations: 15.92 kB / 0.773 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.4147, allocations: 7.984 kB / 0.773 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.417, allocations: 1.537 MB / 0.7745 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.417, allocations: 3.938 kB / 0.7745 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.417, allocations: 19.88 kB / 0.7745 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.4186, allocations: 1.098 MB / 0.7756 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4186, allocations: 0 / 0.7756 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4186, allocations: 0 / 0.7756 GB, free: 11.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.4187, allocations: 0 / 0.7756 GB, free: 11.16 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.0006506/0.4193, allocations: 0.5208 MB / 0.7761 GB, free: 10.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.4194, allocations: 12.03 kB / 0.7761 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.4194, allocations: 84.22 kB / 0.7762 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.4196, allocations: 255.4 kB / 0.7765 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.4196, allocations: 150.9 kB / 0.7766 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.4197, allocations: 150.9 kB / 0.7767 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.242e-05/0.4197, allocations: 105.1 kB / 0.7768 GB, free: 9.805 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.4198, allocations: 79.28 kB / 0.7769 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.4198, allocations: 154.6 kB / 0.7771 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/0.4199, allocations: 150.6 kB / 0.7772 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.829e-05/0.4199, allocations: 158.5 kB / 0.7774 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.4202, allocations: 461.9 kB / 0.7778 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.646e-05/0.4203, allocations: 173.1 kB / 0.778 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.4203, allocations: 84.08 kB / 0.778 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.4203, allocations: 75.28 kB / 0.7781 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.4204, allocations: 109.8 kB / 0.7782 GB, free: 8.312 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.4204, allocations: 7.938 kB / 0.7782 GB, free: 8.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.068e-05/0.4205, allocations: 33.64 kB / 0.7783 GB, free: 8.266 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.4205, allocations: 51.41 kB / 0.7783 GB, free: 8.203 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4206, allocations: 140.7 kB / 0.7784 GB, free: 8.059 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.4206, allocations: 25.7 kB / 0.7785 GB, free: 8.027 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.4207, allocations: 96.12 kB / 0.7786 GB, free: 7.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.4207, allocations: 4 kB / 0.7786 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.4207, allocations: 17.72 kB / 0.7786 GB, free: 7.902 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.4208, allocations: 318.8 kB / 0.7789 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.4209, allocations: 8 kB / 0.7789 GB, free: 7.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.642e-05/0.4209, allocations: 4 kB / 0.7789 GB, free: 7.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.621e-05/0.4209, allocations: 12.86 kB / 0.7789 GB, free: 7.555 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4209, allocations: 0 / 0.7789 GB, free: 7.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001229/0.4211, allocations: 61.47 kB / 0.779 GB, free: 7.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4211, allocations: 4 kB / 0.779 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.4211, allocations: 4 kB / 0.779 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.4211, allocations: 0 / 0.779 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.4211, allocations: 0 / 0.779 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4211, allocations: 4.062 kB / 0.779 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.4212, allocations: 12 kB / 0.779 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.4212, allocations: 0 / 0.779 GB, free: 7.465 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.0001349/0.4213, allocations: 189.1 kB / 0.7792 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/0.4214, allocations: 108.8 kB / 0.7793 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.4215, allocations: 116.8 kB / 0.7794 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-05/0.4215, allocations: 180.3 kB / 0.7796 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/0.4216, allocations: 108.9 kB / 0.7797 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.4216, allocations: 190 kB / 0.7798 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.4217, allocations: 180.2 kB / 0.78 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.4218, allocations: 104.9 kB / 0.7801 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.4219, allocations: 180.3 kB / 0.7803 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.386e-05/0.422, allocations: 263.4 kB / 0.7805 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001517/0.4221, allocations: 383 kB / 0.7809 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.249e-05/0.4222, allocations: 105 kB / 0.781 GB, free: 5.277 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.218e-05/0.4222, allocations: 107.2 kB / 0.7811 GB, free: 5.172 MB / 0.545 GB Notification: Performance of Backend: time 3.81e-07/0.4222, allocations: 0 / 0.7811 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001563/0.4238, allocations: 0.5088 MB / 0.7816 GB, free: 4.652 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005586/0.4244, allocations: 0.9207 MB / 0.7825 GB, free: 3.68 MB / 0.545 GB Notification: Performance of Templates: time 0.01024/0.4346, allocations: 6.389 MB / 0.7887 GB, free: 13.34 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)