Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.0009278/0.0009278, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001113/0.001114, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7409/0.7409, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002932, allocations: 12.84 kB / 0.5035 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3398, allocations: 81.58 MB / 0.5831 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001143/0.341, allocations: 1.142 MB / 0.5842 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.3441, allocations: 2.642 MB / 0.5868 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.3442, allocations: 1.219 kB / 0.5868 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.3442, allocations: 5.859 kB / 0.5868 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.064e-05/0.3443, allocations: 11.3 kB / 0.5868 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.3469, allocations: 1.255 MB / 0.5881 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.579e-05/0.3469, allocations: 43.61 kB / 0.5881 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.347, allocations: 2.641 kB / 0.5881 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.239e-05/0.347, allocations: 12.92 kB / 0.5881 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.875e-05/0.3471, allocations: 22 kB / 0.5881 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.3471, allocations: 0.875 kB / 0.5881 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.3489, allocations: 1.241 MB / 0.5894 GB, free: 340 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.3489, allocations: 10.09 kB / 0.5894 GB, free: 332 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.349, allocations: 37.08 kB / 0.5894 GB, free: 292 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009214/0.3499, allocations: 0.69 MB / 0.5901 GB, free: 160 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3499, allocations: 1.859 kB / 0.5901 GB, free: 160 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3499, allocations: 0 / 0.5901 GB, free: 160 kB / 430.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.3499, allocations: 0 / 0.5901 GB, free: 160 kB / 430.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.0004973/0.3504, allocations: 0.5151 MB / 0.5906 GB, free: 15.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3505, allocations: 10.41 kB / 0.5906 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.3505, allocations: 85.33 kB / 0.5907 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.3506, allocations: 252.3 kB / 0.5909 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.3507, allocations: 155.9 kB / 0.5911 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.3507, allocations: 154.5 kB / 0.5912 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.369e-05/0.3508, allocations: 106.9 kB / 0.5913 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.3508, allocations: 75.28 kB / 0.5914 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.3509, allocations: 155.2 kB / 0.5915 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.3509, allocations: 151.1 kB / 0.5917 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.715e-05/0.351, allocations: 155.9 kB / 0.5918 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.3512, allocations: 466.2 kB / 0.5923 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.407e-05/0.3513, allocations: 174.5 kB / 0.5924 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.3513, allocations: 80.75 kB / 0.5925 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3514, allocations: 79.28 kB / 0.5926 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3514, allocations: 107.8 kB / 0.5927 GB, free: 13.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3514, allocations: 0 / 0.5927 GB, free: 13.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.548e-05/0.3515, allocations: 33.25 kB / 0.5927 GB, free: 13.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3515, allocations: 130.6 kB / 0.5928 GB, free: 13.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3517, allocations: 138 kB / 0.593 GB, free: 13.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.3517, allocations: 27.11 kB / 0.593 GB, free: 13.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.3517, allocations: 88.59 kB / 0.5931 GB, free: 13.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.3517, allocations: 0 / 0.5931 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-06/0.3517, allocations: 0 / 0.5931 GB, free: 13.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.3518, allocations: 322 kB / 0.5934 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.3519, allocations: 4.109 kB / 0.5934 GB, free: 12.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.3519, allocations: 8.75 kB / 0.5934 GB, free: 12.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.3519, allocations: 12.53 kB / 0.5934 GB, free: 12.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3519, allocations: 0 / 0.5934 GB, free: 12.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001264/0.3521, allocations: 50.23 kB / 0.5935 GB, free: 12.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.3521, allocations: 4.969 kB / 0.5935 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.3521, allocations: 3.594 kB / 0.5935 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3521, allocations: 1.375 kB / 0.5935 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.3521, allocations: 0.6562 kB / 0.5935 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.3521, allocations: 0 / 0.5935 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.267e-05/0.3522, allocations: 1.375 kB / 0.5935 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3522, allocations: 5.312 kB / 0.5935 GB, free: 12.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.255e-05/0.3523, allocations: 196.9 kB / 0.5937 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.3523, allocations: 108.3 kB / 0.5938 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.3524, allocations: 111.9 kB / 0.5939 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.623e-05/0.3524, allocations: 182.2 kB / 0.5941 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.906e-05/0.3525, allocations: 186 kB / 0.5942 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.666e-05/0.3525, allocations: 185.6 kB / 0.5944 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.3527, allocations: 413.8 kB / 0.5948 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.007e-05/0.3528, allocations: 102.6 kB / 0.5949 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.3528, allocations: 106.2 kB / 0.595 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.841e-05/0.3529, allocations: 186.3 kB / 0.5952 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.3529, allocations: 186 kB / 0.5954 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-05/0.353, allocations: 181 kB / 0.5955 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.507e-05/0.353, allocations: 178.1 kB / 0.5957 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.3531, allocations: 314.8 kB / 0.596 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.3532, allocations: 186 kB / 0.5962 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.3533, allocations: 182.9 kB / 0.5964 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.3533, allocations: 102 kB / 0.5965 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.3534, allocations: 186.3 kB / 0.5966 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.3534, allocations: 107 kB / 0.5967 GB, free: 9.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.56e-05/0.3535, allocations: 103.1 kB / 0.5968 GB, free: 9.062 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3535, allocations: 0 / 0.5968 GB, free: 9.062 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007521/0.3543, allocations: 276.9 kB / 0.5971 GB, free: 9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009092/0.3552, allocations: 0.5039 MB / 0.5976 GB, free: 8.727 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.056e-05/0.3553, allocations: 42.78 kB / 0.5976 GB, free: 8.688 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3553, allocations: 1.344 kB / 0.5976 GB, free: 8.688 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.3553, allocations: 0 / 0.5976 GB, free: 8.688 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3557, allocations: 0.5316 MB / 0.5981 GB, free: 8.156 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.3559, allocations: 252 kB / 0.5984 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.3561, allocations: 0.6836 MB / 0.5991 GB, free: 7.254 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.245e-05/0.3562, allocations: 5.094 kB / 0.5991 GB, free: 7.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-06/0.3562, allocations: 9.188 kB / 0.5991 GB, free: 7.242 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3562, allocations: 0 / 0.5991 GB, free: 7.242 MB / 446.1 MB Notification: Performance of Templates: time 0.009165/0.3654, allocations: 5.598 MB / 0.6045 GB, free: 5.039 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)