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.0015/0.0015, allocations: 110.5 kB / 16.42 MB, free: 6.5 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.001651/0.001651, allocations: 186.7 kB / 17.35 MB, free: 5.723 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 281.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9622/0.9622, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 100.2 kB / 0.6822 GB, free: 6.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3951, allocations: 86.98 MB / 0.7671 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002345/0.3975, allocations: 1.436 MB / 0.7685 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004178/0.4017, allocations: 2.901 MB / 0.7714 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.4018, allocations: 0 / 0.7714 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.4018, allocations: 7.922 kB / 0.7714 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.339e-05/0.4019, allocations: 15.8 kB / 0.7714 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003907/0.4058, allocations: 1.573 MB / 0.7729 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.659e-05/0.4059, allocations: 47.67 kB / 0.773 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.406, allocations: 11.98 kB / 0.773 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.614e-05/0.406, allocations: 15.92 kB / 0.773 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.177e-05/0.406, allocations: 15.94 kB / 0.773 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.406, allocations: 0 / 0.773 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.4082, allocations: 1.533 MB / 0.7745 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.4083, allocations: 7.922 kB / 0.7745 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.4083, allocations: 19.88 kB / 0.7745 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.4098, allocations: 1.094 MB / 0.7756 GB, free: 11.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4098, allocations: 0 / 0.7756 GB, free: 11.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4098, allocations: 8 kB / 0.7756 GB, free: 11.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.4098, allocations: 0 / 0.7756 GB, free: 11.34 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.0006232/0.4105, allocations: 0.5146 MB / 0.7761 GB, free: 10.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.4105, allocations: 12.03 kB / 0.7761 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.4106, allocations: 76.22 kB / 0.7762 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.4107, allocations: 263.3 kB / 0.7765 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.026e-05/0.4107, allocations: 150.9 kB / 0.7766 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.4108, allocations: 158.9 kB / 0.7767 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.225e-05/0.4109, allocations: 105.1 kB / 0.7768 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.4109, allocations: 75.28 kB / 0.7769 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/0.4109, allocations: 150.6 kB / 0.7771 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.411, allocations: 150.6 kB / 0.7772 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.331e-05/0.411, allocations: 154.6 kB / 0.7774 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.4113, allocations: 473.8 kB / 0.7778 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.919e-05/0.4114, allocations: 165.1 kB / 0.778 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.4114, allocations: 88.08 kB / 0.778 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.4114, allocations: 75.28 kB / 0.7781 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.4115, allocations: 113.8 kB / 0.7782 GB, free: 8.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.4115, allocations: 0 / 0.7782 GB, free: 8.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.285e-05/0.4116, allocations: 33.64 kB / 0.7783 GB, free: 8.453 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.4116, allocations: 55.39 kB / 0.7783 GB, free: 8.387 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.4117, allocations: 136.7 kB / 0.7784 GB, free: 8.246 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.4118, allocations: 25.7 kB / 0.7785 GB, free: 8.215 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.4118, allocations: 96.16 kB / 0.7786 GB, free: 8.117 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.4118, allocations: 0 / 0.7786 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.4119, allocations: 21.7 kB / 0.7786 GB, free: 8.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.412, allocations: 318.8 kB / 0.7789 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.412, allocations: 4 kB / 0.7789 GB, free: 7.766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.412, allocations: 4 kB / 0.7789 GB, free: 7.762 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.026e-05/0.4121, allocations: 20.91 kB / 0.7789 GB, free: 7.738 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4121, allocations: 0 / 0.7789 GB, free: 7.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001248/0.4122, allocations: 61.48 kB / 0.779 GB, free: 7.672 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.4122, allocations: 4 kB / 0.779 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.4122, allocations: 8.062 kB / 0.779 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4123, allocations: 3.984 kB / 0.779 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.4123, allocations: 0 / 0.779 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.4123, allocations: 0 / 0.779 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.4123, allocations: 3.938 kB / 0.779 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4123, allocations: 4 kB / 0.779 GB, free: 7.648 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 8.242e-05/0.4124, allocations: 185.1 kB / 0.7792 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.4125, allocations: 112.8 kB / 0.7793 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.4125, allocations: 112.8 kB / 0.7794 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.444e-05/0.4126, allocations: 188.3 kB / 0.7796 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.375e-05/0.4126, allocations: 108.9 kB / 0.7797 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.4127, allocations: 182 kB / 0.7798 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.4127, allocations: 180.3 kB / 0.78 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.4128, allocations: 104.9 kB / 0.7801 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.4129, allocations: 180.3 kB / 0.7803 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.451e-05/0.413, allocations: 267.4 kB / 0.7805 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001297/0.4131, allocations: 375.1 kB / 0.7809 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.008e-05/0.4131, allocations: 104.9 kB / 0.781 GB, free: 5.469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.46e-05/0.4132, allocations: 111.2 kB / 0.7811 GB, free: 5.359 MB / 0.545 GB Notification: Performance of Backend: time 3.9e-07/0.4132, allocations: 0 / 0.7811 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.4147, allocations: 0.5039 MB / 0.7816 GB, free: 4.844 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005293/0.4152, allocations: 0.9246 MB / 0.7825 GB, free: 3.867 MB / 0.545 GB Notification: Performance of Templates: time 0.009987/0.4252, allocations: 6.378 MB / 0.7887 GB, free: 13.54 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)