Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 105.7 kB / 16.41 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.001284/0.001284, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.459/1.459, 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.002598/0.002598, allocations: 293 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 1.064/1.064, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 99.84 kB / 0.6822 GB, free: 6.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4207, allocations: 86.97 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002523/0.4232, allocations: 1.444 MB / 0.7685 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004659/0.4278, allocations: 2.905 MB / 0.7714 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.4279, allocations: 0 / 0.7714 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.4279, allocations: 3.938 kB / 0.7714 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.428, allocations: 15.86 kB / 0.7714 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003986/0.432, allocations: 1.582 MB / 0.7729 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.806e-05/0.4321, allocations: 47.67 kB / 0.773 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.4321, allocations: 0 / 0.773 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.914e-05/0.4321, allocations: 15.92 kB / 0.773 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.608e-05/0.4322, allocations: 15.94 kB / 0.773 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.4322, allocations: 4 kB / 0.773 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.4346, allocations: 1.533 MB / 0.7745 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.4346, allocations: 11.92 kB / 0.7745 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.4347, allocations: 19.88 kB / 0.7745 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.4362, allocations: 1.097 MB / 0.7756 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4362, allocations: 0 / 0.7756 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4362, allocations: 3.938 kB / 0.7756 GB, free: 11.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.4362, allocations: 0 / 0.7756 GB, free: 11.23 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.0007156/0.4369, allocations: 0.5402 MB / 0.7761 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.437, allocations: 8.031 kB / 0.7762 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/0.4371, allocations: 84.17 kB / 0.7762 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.4373, allocations: 251.6 kB / 0.7765 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.242e-05/0.4373, allocations: 154.9 kB / 0.7766 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.043e-05/0.4374, allocations: 150.9 kB / 0.7768 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.742e-05/0.4375, allocations: 109.1 kB / 0.7769 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.4375, allocations: 75.28 kB / 0.7769 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.109e-05/0.4376, allocations: 154.6 kB / 0.7771 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.609e-05/0.4377, allocations: 154.6 kB / 0.7772 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.363e-05/0.4377, allocations: 150.6 kB / 0.7774 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.4381, allocations: 461.9 kB / 0.7778 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.4382, allocations: 173.1 kB / 0.778 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.4382, allocations: 88.08 kB / 0.7781 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.4383, allocations: 75.28 kB / 0.7781 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.548e-05/0.4383, allocations: 113.8 kB / 0.7783 GB, free: 8.359 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.4383, allocations: 0 / 0.7783 GB, free: 8.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.898e-05/0.4384, allocations: 37.58 kB / 0.7783 GB, free: 8.316 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.4385, allocations: 138.7 kB / 0.7784 GB, free: 8.168 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.4386, allocations: 132.6 kB / 0.7785 GB, free: 8.031 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.4386, allocations: 25.7 kB / 0.7786 GB, free: 8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.4387, allocations: 100.1 kB / 0.7787 GB, free: 7.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-06/0.4387, allocations: 0 / 0.7787 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.4387, allocations: 17.7 kB / 0.7787 GB, free: 7.875 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4389, allocations: 318.8 kB / 0.779 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.4389, allocations: 0 / 0.779 GB, free: 7.555 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.4389, allocations: 8 kB / 0.779 GB, free: 7.547 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.041e-05/0.439, allocations: 24.88 kB / 0.779 GB, free: 7.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.439, allocations: 0 / 0.779 GB, free: 7.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001314/0.4391, allocations: 49.58 kB / 0.7791 GB, free: 7.465 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4391, allocations: 8 kB / 0.7791 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.4391, allocations: 0 / 0.7791 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4392, allocations: 4 kB / 0.7791 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.4392, allocations: 0 / 0.7791 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.4392, allocations: 0 / 0.7791 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.4392, allocations: 7.938 kB / 0.7791 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.4392, allocations: 0 / 0.7791 GB, free: 7.445 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.0001168/0.4393, allocations: 189.2 kB / 0.7793 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.4394, allocations: 112.9 kB / 0.7794 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.45e-05/0.4395, allocations: 116.8 kB / 0.7795 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.883e-05/0.4395, allocations: 188.2 kB / 0.7797 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.917e-05/0.4396, allocations: 184.2 kB / 0.7798 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.832e-05/0.4397, allocations: 180.3 kB / 0.78 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.44, allocations: 413.2 kB / 0.7804 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.095e-05/0.4401, allocations: 108.9 kB / 0.7805 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.882e-05/0.4401, allocations: 105 kB / 0.7806 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.995e-05/0.4402, allocations: 180.2 kB / 0.7808 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.142e-05/0.4403, allocations: 184.3 kB / 0.781 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.495e-05/0.4404, allocations: 180.3 kB / 0.7811 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.599e-05/0.4405, allocations: 184.1 kB / 0.7813 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.4407, allocations: 307.8 kB / 0.7816 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.4408, allocations: 190 kB / 0.7818 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.4409, allocations: 180.3 kB / 0.782 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.441, allocations: 108.9 kB / 0.7821 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.4411, allocations: 184.2 kB / 0.7822 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-05/0.4411, allocations: 108.9 kB / 0.7823 GB, free: 3.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.362e-05/0.4412, allocations: 99.17 kB / 0.7824 GB, free: 3.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.4412, allocations: 0 / 0.7824 GB, free: 3.793 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000804/0.442, allocations: 287 kB / 0.7827 GB, free: 3.512 MB / 0.545 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.001091/0.4431, allocations: 0.547 MB / 0.7832 GB, free: 2.957 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.796e-05/0.4432, allocations: 33.7 kB / 0.7833 GB, free: 2.918 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4432, allocations: 0 / 0.7833 GB, free: 2.918 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.774e-06/0.4432, allocations: 4.062 kB / 0.7833 GB, free: 2.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.4437, allocations: 470.6 kB / 0.7837 GB, free: 2.453 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.444, allocations: 232 kB / 0.7839 GB, free: 2.199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.4444, allocations: 0.6924 MB / 0.7846 GB, free: 1.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.258e-05/0.4444, allocations: 0 / 0.7846 GB, free: 1.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.076e-05/0.4444, allocations: 7.438 kB / 0.7846 GB, free: 1.473 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.4444, allocations: 0 / 0.7846 GB, free: 1.473 MB / 0.545 GB Notification: Performance of Templates: time 0.01057/0.455, allocations: 5.617 MB / 0.7901 GB, free: 11.9 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)