Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00781/0.00781, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001418/0.001418, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8166/0.8166, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 58.97 kB / 0.5814 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.202, allocations: 80.22 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002715/0.2048, allocations: 1.343 MB / 0.6611 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.2066, allocations: 1.079 MB / 0.6621 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.2067, allocations: 7.938 kB / 0.6621 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.2067, allocations: 0 / 0.6621 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-05/0.2068, allocations: 7.938 kB / 0.6621 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.2074, allocations: 215.2 kB / 0.6623 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.691e-05/0.2075, allocations: 27.86 kB / 0.6624 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.2076, allocations: 11.98 kB / 0.6624 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.94e-05/0.2077, allocations: 7.938 kB / 0.6624 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.2077, allocations: 19.92 kB / 0.6624 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.2077, allocations: 0 / 0.6624 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005867/0.2083, allocations: 423.4 kB / 0.6628 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.2084, allocations: 4 kB / 0.6628 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.2084, allocations: 15.92 kB / 0.6628 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.2087, allocations: 195.5 kB / 0.663 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2087, allocations: 0 / 0.663 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2087, allocations: 0 / 0.663 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.2087, allocations: 4 kB / 0.663 GB, free: 6.883 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004984/0.2092, allocations: 383.3 kB / 0.6634 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2093, allocations: 9.109 kB / 0.6634 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.2093, allocations: 8.844 kB / 0.6634 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2095, allocations: 160.4 kB / 0.6635 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.929e-05/0.2096, allocations: 4.375 kB / 0.6635 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.2096, allocations: 3.938 kB / 0.6636 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.2097, allocations: 37.69 kB / 0.6636 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2097, allocations: 7.938 kB / 0.6636 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2098, allocations: 4 kB / 0.6636 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2098, allocations: 0 / 0.6636 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.412e-05/0.2098, allocations: 15.98 kB / 0.6636 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.21, allocations: 157.7 kB / 0.6638 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.985e-05/0.2102, allocations: 42.58 kB / 0.6638 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.2102, allocations: 12.86 kB / 0.6638 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009954/0.2112, allocations: 0.9856 MB / 0.6648 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2112, allocations: 38.5 kB / 0.6648 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.2112, allocations: 4 kB / 0.6648 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001777/0.2114, allocations: 57.59 kB / 0.6649 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.2115, allocations: 55.41 kB / 0.6649 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.276e-05/0.2115, allocations: 105.8 kB / 0.665 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.2116, allocations: 25.7 kB / 0.6651 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.2116, allocations: 88.06 kB / 0.6651 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.2116, allocations: 15.84 kB / 0.6652 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.2117, allocations: 9.719 kB / 0.6652 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.2118, allocations: 322.8 kB / 0.6655 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.2118, allocations: 11.92 kB / 0.6655 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.2118, allocations: 4 kB / 0.6655 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.033e-05/0.2119, allocations: 29.06 kB / 0.6655 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2119, allocations: 4 kB / 0.6655 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.015e-05/0.212, allocations: 53.53 kB / 0.6656 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.212, allocations: 8 kB / 0.6656 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.212, allocations: 0 / 0.6656 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.212, allocations: 0 / 0.6656 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.2122, allocations: 15.98 kB / 0.6656 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2122, allocations: 4 kB / 0.6656 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.269e-05/0.2122, allocations: 0 / 0.6656 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.2122, allocations: 4 kB / 0.6656 GB, free: 3.785 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 8.092e-05/0.2123, allocations: 113.7 kB / 0.6657 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.2123, allocations: 3.906 kB / 0.6657 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.2124, allocations: 69.58 kB / 0.6658 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.2125, allocations: 0 / 0.6658 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2125, allocations: 0 / 0.6658 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2125, allocations: 4 kB / 0.6658 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.2126, allocations: 169.6 kB / 0.6659 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2126, allocations: 0 / 0.6659 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.2127, allocations: 15.98 kB / 0.666 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2127, allocations: 0 / 0.666 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2127, allocations: 0 / 0.666 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2127, allocations: 0 / 0.666 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2127, allocations: 0 / 0.666 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.2128, allocations: 85 kB / 0.666 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.2129, allocations: 85.02 kB / 0.6661 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.2129, allocations: 0 / 0.6661 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.2129, allocations: 0 / 0.6661 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.2129, allocations: 7.984 kB / 0.6661 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.2129, allocations: 0 / 0.6661 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.213, allocations: 83.59 kB / 0.6662 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.213, allocations: 0 / 0.6662 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000246/0.2132, allocations: 39.92 kB / 0.6662 GB, free: 3.008 MB / 0.4981 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 (4): * Single equations (assignments): 4 * 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.0002326/0.2135, allocations: 155.1 kB / 0.6664 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.2136, allocations: 23.94 kB / 0.6664 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2136, allocations: 0 / 0.6664 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.309e-05/0.2136, allocations: 15.98 kB / 0.6664 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.2139, allocations: 15.36 kB / 0.6664 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.2142, allocations: 162.2 kB / 0.6666 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.2145, allocations: 0.6807 MB / 0.6673 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.2145, allocations: 8.312 kB / 0.6673 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.2145, allocations: 7.438 kB / 0.6673 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2145, allocations: 0 / 0.6673 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of Templates: time 0.003426/0.2179, allocations: 1.122 MB / 0.6684 GB, free: 0.8203 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)