Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 102.3 kB / 16.27 MB, free: 5.969 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.001389/0.001389, allocations: 194.1 kB / 17.2 MB, free: 5.594 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.45/1.45, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8758/0.8758, allocations: 132.2 MB / 423.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001534, allocations: 63.91 kB / 0.5025 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.46, allocations: 80.19 MB / 0.5808 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002745/0.4628, allocations: 1.423 MB / 0.5822 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004371/0.4672, allocations: 2.833 MB / 0.585 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.4673, allocations: 2.625 kB / 0.585 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.4674, allocations: 7.922 kB / 0.585 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.4674, allocations: 13.05 kB / 0.585 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.4714, allocations: 1.557 MB / 0.5865 GB, free: 22.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.39e-05/0.4715, allocations: 40.83 kB / 0.5865 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.4715, allocations: 6.312 kB / 0.5865 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.895e-05/0.4716, allocations: 12.78 kB / 0.5866 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.024e-05/0.4716, allocations: 22.39 kB / 0.5866 GB, free: 22.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.4716, allocations: 1.469 kB / 0.5866 GB, free: 22.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.4738, allocations: 1.418 MB / 0.588 GB, free: 22.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.4738, allocations: 1.125 kB / 0.588 GB, free: 22.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.4739, allocations: 20.12 kB / 0.588 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.4754, allocations: 1.069 MB / 0.589 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4754, allocations: 1.938 kB / 0.589 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4754, allocations: 0 / 0.589 GB, free: 21.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.4754, allocations: 1.031 kB / 0.589 GB, free: 21.46 MB / 446.1 MB 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.0006052/0.4761, allocations: 0.5082 MB / 0.5895 GB, free: 20.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.4761, allocations: 18.7 kB / 0.5895 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.4762, allocations: 86.38 kB / 0.5896 GB, free: 20.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.4763, allocations: 243.8 kB / 0.5899 GB, free: 20.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.4763, allocations: 154.3 kB / 0.59 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.4764, allocations: 158.5 kB / 0.5902 GB, free: 20.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.776e-05/0.4764, allocations: 107.5 kB / 0.5903 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.4764, allocations: 75.28 kB / 0.5903 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.4765, allocations: 152.4 kB / 0.5905 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.4765, allocations: 152 kB / 0.5906 GB, free: 19.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.761e-05/0.4765, allocations: 151.5 kB / 0.5908 GB, free: 19.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.4767, allocations: 466.6 kB / 0.5912 GB, free: 19.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.4e-05/0.4768, allocations: 179.4 kB / 0.5914 GB, free: 18.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.4768, allocations: 80.64 kB / 0.5915 GB, free: 18.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.4769, allocations: 81.83 kB / 0.5915 GB, free: 18.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.4769, allocations: 107.2 kB / 0.5916 GB, free: 18.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4769, allocations: 0 / 0.5916 GB, free: 18.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.824e-05/0.477, allocations: 32.02 kB / 0.5917 GB, free: 18.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.477, allocations: 134.2 kB / 0.5918 GB, free: 18.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.4772, allocations: 131.6 kB / 0.5919 GB, free: 18.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.4772, allocations: 27.23 kB / 0.5919 GB, free: 18.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.4772, allocations: 85.89 kB / 0.592 GB, free: 18.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.4772, allocations: 0.9375 kB / 0.592 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.4773, allocations: 22.14 kB / 0.592 GB, free: 18.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.721e-05/0.4773, allocations: 314.1 kB / 0.5923 GB, free: 17.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.4774, allocations: 8.75 kB / 0.5924 GB, free: 17.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/0.4774, allocations: 4.031 kB / 0.5924 GB, free: 17.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.42e-05/0.4775, allocations: 13.69 kB / 0.5924 GB, free: 17.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4775, allocations: 3.938 kB / 0.5924 GB, free: 17.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001151/0.4776, allocations: 54.77 kB / 0.5924 GB, free: 17.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.4776, allocations: 9.062 kB / 0.5924 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.4776, allocations: 5.25 kB / 0.5924 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4777, allocations: 4.984 kB / 0.5924 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.4777, allocations: 0 / 0.5924 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.4777, allocations: 0 / 0.5924 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.4777, allocations: 1.25 kB / 0.5925 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.4777, allocations: 1.469 kB / 0.5925 GB, free: 17.89 MB / 446.1 MB 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 6.551e-05/0.4778, allocations: 192.7 kB / 0.5926 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.4778, allocations: 111.7 kB / 0.5927 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.4779, allocations: 117.8 kB / 0.5929 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-05/0.4779, allocations: 177.5 kB / 0.593 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.264e-05/0.478, allocations: 181.5 kB / 0.5932 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.218e-05/0.478, allocations: 188 kB / 0.5934 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.4782, allocations: 415.2 kB / 0.5938 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/0.4782, allocations: 108.9 kB / 0.5939 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.4782, allocations: 103.1 kB / 0.594 GB, free: 16.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.757e-05/0.4782, allocations: 178.2 kB / 0.5941 GB, free: 16.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.4783, allocations: 183.5 kB / 0.5943 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.892e-05/0.4783, allocations: 180.3 kB / 0.5945 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.011e-05/0.4783, allocations: 182.6 kB / 0.5947 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.983e-05/0.4784, allocations: 309.7 kB / 0.595 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.4785, allocations: 189.6 kB / 0.5951 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.4785, allocations: 181.9 kB / 0.5953 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.709e-05/0.4786, allocations: 109.4 kB / 0.5954 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.4786, allocations: 179.6 kB / 0.5956 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.4787, allocations: 102.2 kB / 0.5957 GB, free: 14.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.978e-05/0.4787, allocations: 107.5 kB / 0.5958 GB, free: 14.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4787, allocations: 0 / 0.5958 GB, free: 14.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008167/0.4795, allocations: 275.8 kB / 0.5961 GB, free: 14.2 MB / 446.1 MB 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.0009627/0.4805, allocations: 0.5198 MB / 0.5966 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.355e-05/0.4806, allocations: 37.7 kB / 0.5966 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4806, allocations: 0 / 0.5966 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.4806, allocations: 2.344 kB / 0.5966 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.481, allocations: 463.6 kB / 0.597 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.4813, allocations: 260.6 kB / 0.5973 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.4814, allocations: 0.6853 MB / 0.598 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.211e-05/0.4814, allocations: 13.22 kB / 0.598 GB, free: 12.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4814, allocations: 0 / 0.598 GB, free: 12.16 MB / 446.1 MB Notification: Performance of Templates: time 0.006199/0.4876, allocations: 4.629 MB / 0.6025 GB, free: 7.574 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)