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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.001511/0.001512, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.328/1.328, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.799/0.799, allocations: 135.2 MB / 425.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 67.89 kB / 0.5056 GB, free: 8.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3275, allocations: 80.92 MB / 0.5846 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002448/0.33, allocations: 1.482 MB / 0.5861 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00353/0.3336, allocations: 2.865 MB / 0.5889 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.3336, allocations: 2.062 kB / 0.5889 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.3337, allocations: 12.36 kB / 0.5889 GB, free: 21.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.707e-05/0.3338, allocations: 9.922 kB / 0.5889 GB, free: 21.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.3376, allocations: 1.466 MB / 0.5903 GB, free: 20.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.264e-05/0.3377, allocations: 43.88 kB / 0.5904 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.3377, allocations: 4.125 kB / 0.5904 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.008e-05/0.3377, allocations: 16.3 kB / 0.5904 GB, free: 20.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.032e-05/0.3378, allocations: 17 kB / 0.5904 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.3378, allocations: 1.062 kB / 0.5904 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.3393, allocations: 1.461 MB / 0.5918 GB, free: 19.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.3393, allocations: 8.438 kB / 0.5918 GB, free: 19.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.3393, allocations: 16.38 kB / 0.5919 GB, free: 19.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000705/0.34, allocations: 0.7526 MB / 0.5926 GB, free: 18.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.34, allocations: 2.625 kB / 0.5926 GB, free: 18.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3401, allocations: 0 / 0.5926 GB, free: 18.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3401, allocations: 0 / 0.5926 GB, free: 18.56 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.0004524/0.3405, allocations: 0.5145 MB / 0.5931 GB, free: 18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.3406, allocations: 12.03 kB / 0.5931 GB, free: 17.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.3406, allocations: 81.25 kB / 0.5932 GB, free: 17.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.3407, allocations: 258.2 kB / 0.5934 GB, free: 17.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.3407, allocations: 155.6 kB / 0.5936 GB, free: 17.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.3407, allocations: 156.9 kB / 0.5937 GB, free: 17.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.553e-05/0.3408, allocations: 101 kB / 0.5938 GB, free: 17.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3408, allocations: 75.28 kB / 0.5939 GB, free: 17.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.3408, allocations: 152.8 kB / 0.594 GB, free: 16.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.3409, allocations: 150.6 kB / 0.5942 GB, free: 16.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.3409, allocations: 158.6 kB / 0.5943 GB, free: 16.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.3411, allocations: 470.9 kB / 0.5948 GB, free: 16.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.392e-05/0.3411, allocations: 172.1 kB / 0.5949 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.448e-05/0.3411, allocations: 80.14 kB / 0.595 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.3411, allocations: 75.28 kB / 0.5951 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.3412, allocations: 111 kB / 0.5952 GB, free: 15.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.3412, allocations: 0 / 0.5952 GB, free: 15.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.317e-05/0.3412, allocations: 37.55 kB / 0.5952 GB, free: 15.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.3413, allocations: 128.2 kB / 0.5954 GB, free: 15.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.3414, allocations: 133.8 kB / 0.5955 GB, free: 15.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.212e-06/0.3414, allocations: 25.7 kB / 0.5955 GB, free: 15.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.3414, allocations: 89.27 kB / 0.5956 GB, free: 15.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.3414, allocations: 0 / 0.5956 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.3414, allocations: 23.48 kB / 0.5956 GB, free: 15.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.648e-05/0.3415, allocations: 314.8 kB / 0.5959 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.3415, allocations: 4 kB / 0.5959 GB, free: 14.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.44e-05/0.3415, allocations: 13.55 kB / 0.5959 GB, free: 14.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.3416, allocations: 12.8 kB / 0.596 GB, free: 14.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3416, allocations: 3.938 kB / 0.596 GB, free: 14.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.473e-05/0.3417, allocations: 57.55 kB / 0.596 GB, free: 14.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.3417, allocations: 5.156 kB / 0.596 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.3417, allocations: 4 kB / 0.596 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.3417, allocations: 0 / 0.596 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.3417, allocations: 8.891 kB / 0.596 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3417, allocations: 0 / 0.596 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.3418, allocations: 9 kB / 0.596 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.3418, allocations: 0 / 0.596 GB, free: 14.82 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 4.704e-05/0.3418, allocations: 186.7 kB / 0.5962 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.3418, allocations: 108.9 kB / 0.5963 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.3419, allocations: 112.8 kB / 0.5964 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.3419, allocations: 185.9 kB / 0.5966 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/0.3419, allocations: 180.2 kB / 0.5968 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/0.3419, allocations: 186.2 kB / 0.597 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.3421, allocations: 413.2 kB / 0.5973 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.3421, allocations: 109.9 kB / 0.5975 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.3421, allocations: 109 kB / 0.5976 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.045e-05/0.3421, allocations: 185.3 kB / 0.5977 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.3422, allocations: 177.1 kB / 0.5979 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.051e-05/0.3422, allocations: 186.6 kB / 0.5981 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.971e-05/0.3422, allocations: 184.2 kB / 0.5983 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.424e-05/0.3423, allocations: 316.1 kB / 0.5986 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.3423, allocations: 178.8 kB / 0.5987 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.3423, allocations: 181.5 kB / 0.5989 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/0.3424, allocations: 108.9 kB / 0.599 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.3424, allocations: 182.3 kB / 0.5992 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3424, allocations: 104.9 kB / 0.5993 GB, free: 11.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.293e-05/0.3425, allocations: 105.5 kB / 0.5994 GB, free: 11.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3425, allocations: 0.9688 kB / 0.5994 GB, free: 11.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005681/0.3431, allocations: 275.8 kB / 0.5996 GB, free: 10.92 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.0008419/0.3439, allocations: 0.5357 MB / 0.6002 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.815e-05/0.344, allocations: 42.38 kB / 0.6002 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.344, allocations: 0.6562 kB / 0.6002 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.344, allocations: 4 kB / 0.6002 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.3443, allocations: 462.7 kB / 0.6007 GB, free: 9.871 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.3445, allocations: 275.5 kB / 0.6009 GB, free: 9.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.979e-05/0.3446, allocations: 0.6816 MB / 0.6016 GB, free: 8.863 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-06/0.3446, allocations: 17.78 kB / 0.6016 GB, free: 8.848 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3447, allocations: 0 / 0.6016 GB, free: 8.848 MB / 446.1 MB Notification: Performance of Templates: time 0.005734/0.3504, allocations: 4.745 MB / 0.6062 GB, free: 4.129 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)