Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.007793/0.007793, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001499/0.001499, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7633/0.7633, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.91 kB / 0.5814 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4556, allocations: 80.2 MB / 0.6598 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002339/0.458, allocations: 1.432 MB / 0.6612 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003931/0.4619, allocations: 2.875 MB / 0.664 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.462, allocations: 0 / 0.664 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.462, allocations: 0 / 0.664 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-05/0.4621, allocations: 17.52 kB / 0.664 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.4658, allocations: 1.579 MB / 0.6655 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.855e-05/0.4659, allocations: 42.42 kB / 0.6656 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.4659, allocations: 2.219 kB / 0.6656 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.965e-05/0.466, allocations: 20.61 kB / 0.6656 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.667e-05/0.466, allocations: 15.34 kB / 0.6656 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.466, allocations: 1.406 kB / 0.6656 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.4679, allocations: 1.53 MB / 0.6671 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.468, allocations: 5.188 kB / 0.6671 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.468, allocations: 19.91 kB / 0.6671 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.4692, allocations: 1.098 MB / 0.6682 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4693, allocations: 1.438 kB / 0.6682 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4693, allocations: 0 / 0.6682 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.4693, allocations: 0 / 0.6682 GB, free: 4.66 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.0005099/0.4698, allocations: 0.517 MB / 0.6687 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4698, allocations: 10.5 kB / 0.6687 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.4699, allocations: 85.72 kB / 0.6688 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.888e-05/0.47, allocations: 257 kB / 0.669 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.47, allocations: 154.7 kB / 0.6692 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.4701, allocations: 155.7 kB / 0.6693 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.508e-05/0.4701, allocations: 101 kB / 0.6694 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.4701, allocations: 80.56 kB / 0.6695 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.4702, allocations: 150.6 kB / 0.6696 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.4702, allocations: 154.6 kB / 0.6698 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.754e-05/0.4702, allocations: 156.2 kB / 0.6699 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.4704, allocations: 465.5 kB / 0.6704 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.878e-05/0.4705, allocations: 174.4 kB / 0.6705 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.4705, allocations: 84.14 kB / 0.6706 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.4705, allocations: 75.28 kB / 0.6707 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.4705, allocations: 107.1 kB / 0.6708 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4705, allocations: 0 / 0.6708 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.657e-05/0.4706, allocations: 36.38 kB / 0.6708 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.4706, allocations: 126.7 kB / 0.671 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.4708, allocations: 142.2 kB / 0.6711 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.4708, allocations: 25.7 kB / 0.6711 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.4708, allocations: 91.2 kB / 0.6712 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.4708, allocations: 16 / 0.6712 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.4709, allocations: 18.77 kB / 0.6712 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.4709, allocations: 317.4 kB / 0.6715 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.4709, allocations: 2.75 kB / 0.6715 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.678e-05/0.471, allocations: 7.484 kB / 0.6715 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.642e-05/0.471, allocations: 23.03 kB / 0.6716 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.471, allocations: 0 / 0.6716 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001161/0.4711, allocations: 55.98 kB / 0.6716 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4711, allocations: 5.281 kB / 0.6716 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.4712, allocations: 4 kB / 0.6716 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.4712, allocations: 0 / 0.6716 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.4712, allocations: 0 / 0.6716 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4712, allocations: 0.9688 kB / 0.6716 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.4712, allocations: 9 kB / 0.6716 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.4712, allocations: 5.203 kB / 0.6716 GB, free: 1.059 MB / 0.4981 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 5.957e-05/0.4713, allocations: 190.3 kB / 0.6718 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.4713, allocations: 112.6 kB / 0.6719 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.4714, allocations: 117.8 kB / 0.672 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/0.4714, allocations: 185.7 kB / 0.6722 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.749e-05/0.4714, allocations: 185.5 kB / 0.6724 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/0.4715, allocations: 180.3 kB / 0.6726 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.4717, allocations: 417 kB / 0.673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/0.4718, allocations: 104.9 kB / 0.6731 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.4718, allocations: 110.3 kB / 0.6732 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.551e-05/0.4719, allocations: 181.4 kB / 0.6733 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/0.4719, allocations: 177.7 kB / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-05/0.472, allocations: 180.3 kB / 0.6737 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-05/0.4721, allocations: 185.5 kB / 0.6739 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.4722, allocations: 313 kB / 0.6742 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.4723, allocations: 184.3 kB / 0.6743 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.4724, allocations: 181.7 kB / 0.6745 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.4725, allocations: 104.9 kB / 0.6746 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/0.4726, allocations: 185.6 kB / 0.6748 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/0.4726, allocations: 110.5 kB / 0.6749 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.225e-05/0.4727, allocations: 95.77 kB / 0.675 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4727, allocations: 0 / 0.675 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008284/0.4735, allocations: 278.7 kB / 0.6752 GB, free: 13.38 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.001233/0.4748, allocations: 0.5364 MB / 0.6758 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.4749, allocations: 39.11 kB / 0.6758 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4749, allocations: 0 / 0.6758 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/0.475, allocations: 4.062 kB / 0.6758 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.4755, allocations: 466.4 kB / 0.6763 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.4758, allocations: 238.5 kB / 0.6765 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.4762, allocations: 0.6882 MB / 0.6772 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.521e-05/0.4762, allocations: 1.281 kB / 0.6772 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.4762, allocations: 8.531 kB / 0.6772 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.4762, allocations: 0 / 0.6772 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of Templates: time 0.009987/0.4862, allocations: 5.598 MB / 0.6826 GB, free: 8.777 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)