Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.006198/0.006198, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001185/0.001184, allocations: 190.4 kB / 16.67 MB, free: 5.98 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 / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9265/0.9265, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 0.5857 GB, free: 3.297 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4256, allocations: 80.91 MB / 0.6647 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002127/0.4278, allocations: 1.431 MB / 0.6661 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003422/0.4312, allocations: 2.875 MB / 0.6689 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.4313, allocations: 0 / 0.6689 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.4313, allocations: 5.078 kB / 0.6689 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.221e-05/0.4314, allocations: 17.17 kB / 0.6689 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.4346, allocations: 1.59 MB / 0.6705 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.324e-05/0.4347, allocations: 43.14 kB / 0.6705 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.4348, allocations: 2.562 kB / 0.6705 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.574e-05/0.4348, allocations: 16.02 kB / 0.6706 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.423e-05/0.4348, allocations: 20.2 kB / 0.6706 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.4348, allocations: 0 / 0.6706 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.4367, allocations: 1.523 MB / 0.6721 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.4367, allocations: 9.172 kB / 0.6721 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.4367, allocations: 23.92 kB / 0.6721 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.4379, allocations: 1.095 MB / 0.6732 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4379, allocations: 0 / 0.6732 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4379, allocations: 0 / 0.6732 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.438, allocations: 1.094 kB / 0.6732 GB, free: 1.613 MB / 0.4981 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.0004644/0.4384, allocations: 0.513 MB / 0.6737 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.4385, allocations: 12.98 kB / 0.6737 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.4385, allocations: 82.69 kB / 0.6738 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.09e-05/0.4386, allocations: 258.6 kB / 0.674 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.4386, allocations: 159.6 kB / 0.6742 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.4387, allocations: 151.7 kB / 0.6743 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.897e-05/0.4387, allocations: 101 kB / 0.6744 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.4387, allocations: 79.28 kB / 0.6745 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.4388, allocations: 151.9 kB / 0.6746 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-05/0.4388, allocations: 158.5 kB / 0.6748 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.781e-05/0.4389, allocations: 152 kB / 0.6749 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.4392, allocations: 465.2 kB / 0.6754 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.01e-05/0.4393, allocations: 174.6 kB / 0.6755 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.4393, allocations: 84.14 kB / 0.6756 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.4393, allocations: 75.28 kB / 0.6757 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.4394, allocations: 106.9 kB / 0.6758 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4394, allocations: 0 / 0.6758 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.179e-05/0.4395, allocations: 41.11 kB / 0.6758 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.4395, allocations: 126.7 kB / 0.6759 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.4397, allocations: 131 kB / 0.6761 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.4397, allocations: 27.17 kB / 0.6761 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.4397, allocations: 97.53 kB / 0.6762 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.4397, allocations: 1.484 kB / 0.6762 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.4398, allocations: 14.09 kB / 0.6762 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4399, allocations: 321 kB / 0.6765 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.442e-05/0.4399, allocations: 7.156 kB / 0.6765 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.44, allocations: 3.234 kB / 0.6765 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.202e-05/0.44, allocations: 23.2 kB / 0.6765 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.44, allocations: 0 / 0.6765 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001236/0.4401, allocations: 48.92 kB / 0.6766 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4402, allocations: 12.95 kB / 0.6766 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.4402, allocations: 2.75 kB / 0.6766 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.4402, allocations: 64 / 0.6766 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.206e-06/0.4402, allocations: 5.375 kB / 0.6766 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.4402, allocations: 0 / 0.6766 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.4403, allocations: 9.188 kB / 0.6766 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.4403, allocations: 1.406 kB / 0.6766 GB, free: 14.01 MB / 0.5137 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.0001028/0.4404, allocations: 191.6 kB / 0.6768 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.4404, allocations: 107.5 kB / 0.6769 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/0.4405, allocations: 123.1 kB / 0.677 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.286e-05/0.4406, allocations: 181.7 kB / 0.6772 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.298e-05/0.4406, allocations: 180.2 kB / 0.6774 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.509e-05/0.4407, allocations: 185.6 kB / 0.6775 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.4409, allocations: 419.8 kB / 0.6779 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.432e-05/0.441, allocations: 105.9 kB / 0.678 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.441, allocations: 102.1 kB / 0.6781 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-05/0.4411, allocations: 181.4 kB / 0.6783 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.4411, allocations: 177.4 kB / 0.6785 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-05/0.4412, allocations: 181.4 kB / 0.6786 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.426e-05/0.4413, allocations: 185.3 kB / 0.6788 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.4414, allocations: 311.8 kB / 0.6791 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.4415, allocations: 188.7 kB / 0.6793 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.4416, allocations: 189.6 kB / 0.6795 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.4417, allocations: 106.4 kB / 0.6796 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.4417, allocations: 176.3 kB / 0.6798 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-05/0.4418, allocations: 110.3 kB / 0.6799 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.4418, allocations: 99.05 kB / 0.68 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4418, allocations: 0 / 0.68 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006952/0.4425, allocations: 278 kB / 0.6802 GB, free: 10.33 MB / 0.5137 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.001008/0.4436, allocations: 0.5302 MB / 0.6807 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.4437, allocations: 42.59 kB / 0.6808 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4437, allocations: 0.9375 kB / 0.6808 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.4437, allocations: 0 / 0.6808 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.4441, allocations: 471.7 kB / 0.6812 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.4444, allocations: 238.4 kB / 0.6815 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.4447, allocations: 0.6837 MB / 0.6821 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.357e-05/0.4447, allocations: 1.5 kB / 0.6821 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.4448, allocations: 8.875 kB / 0.6821 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4448, allocations: 0 / 0.6821 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of Templates: time 0.009791/0.4546, allocations: 5.594 MB / 0.6876 GB, free: 5.734 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)