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.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001803/0.001803, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7903/0.7903, allocations: 132.2 MB / 422.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 64.27 kB / 0.5012 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.456, allocations: 80.21 MB / 0.5795 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003034/0.4591, allocations: 1.489 MB / 0.5809 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004996/0.4642, allocations: 2.992 MB / 0.5839 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.4642, allocations: 1.125 kB / 0.5839 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.983e-05/0.4643, allocations: 9.719 kB / 0.5839 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.006e-05/0.4644, allocations: 15.77 kB / 0.5839 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004369/0.4688, allocations: 1.386 MB / 0.5852 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.4689, allocations: 48.81 kB / 0.5853 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.368e-05/0.469, allocations: 8.188 kB / 0.5853 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.469, allocations: 12.95 kB / 0.5853 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.92e-05/0.4691, allocations: 16.75 kB / 0.5853 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.4691, allocations: 2 kB / 0.5853 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/0.4726, allocations: 1.459 MB / 0.5868 GB, free: 300 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.4726, allocations: 6.625 kB / 0.5868 GB, free: 296 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.4727, allocations: 21.06 kB / 0.5868 GB, free: 284 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.4755, allocations: 1.112 MB / 0.5879 GB, free: 15.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4755, allocations: 0.7969 kB / 0.5879 GB, free: 15.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4755, allocations: 0 / 0.5879 GB, free: 15.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.4755, allocations: 0 / 0.5879 GB, free: 15.99 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.0008855/0.4764, allocations: 0.5226 MB / 0.5884 GB, free: 15.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4765, allocations: 9.812 kB / 0.5884 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.4765, allocations: 82.78 kB / 0.5885 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.4767, allocations: 249 kB / 0.5887 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/0.4768, allocations: 156.2 kB / 0.5888 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.4768, allocations: 159.6 kB / 0.589 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.452e-05/0.4769, allocations: 106.3 kB / 0.5891 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.4769, allocations: 75.28 kB / 0.5892 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.477, allocations: 151.4 kB / 0.5893 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.621e-05/0.477, allocations: 151.1 kB / 0.5895 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.4771, allocations: 151.4 kB / 0.5896 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.4774, allocations: 470.1 kB / 0.5901 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.76e-05/0.4775, allocations: 170.7 kB / 0.5902 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.4776, allocations: 80.84 kB / 0.5903 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.4776, allocations: 75.28 kB / 0.5904 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.4776, allocations: 116 kB / 0.5905 GB, free: 13.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4776, allocations: 0 / 0.5905 GB, free: 13.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.219e-05/0.4777, allocations: 37.14 kB / 0.5905 GB, free: 13.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.4778, allocations: 126.7 kB / 0.5906 GB, free: 13.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.4779, allocations: 138.5 kB / 0.5908 GB, free: 12.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.478, allocations: 27.52 kB / 0.5908 GB, free: 12.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.478, allocations: 87.69 kB / 0.5909 GB, free: 12.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-06/0.478, allocations: 0 / 0.5909 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.4781, allocations: 20 kB / 0.5909 GB, free: 12.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.4782, allocations: 319.5 kB / 0.5912 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.4782, allocations: 7.656 kB / 0.5912 GB, free: 12.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.4782, allocations: 3.359 kB / 0.5912 GB, free: 12.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.279e-05/0.4783, allocations: 20.66 kB / 0.5912 GB, free: 12.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4783, allocations: 3.938 kB / 0.5912 GB, free: 12.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001259/0.4784, allocations: 57.44 kB / 0.5913 GB, free: 12.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.4785, allocations: 9.281 kB / 0.5913 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.4785, allocations: 4.422 kB / 0.5913 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4785, allocations: 64 / 0.5913 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.933e-06/0.4785, allocations: 5.094 kB / 0.5913 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4785, allocations: 5.016 kB / 0.5913 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.4785, allocations: 0.8125 kB / 0.5913 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.4786, allocations: 1.406 kB / 0.5913 GB, free: 12.44 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 9.34e-05/0.4787, allocations: 188.5 kB / 0.5915 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.4787, allocations: 112.3 kB / 0.5916 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.4788, allocations: 112 kB / 0.5917 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.115e-05/0.4788, allocations: 182 kB / 0.5919 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.725e-05/0.4789, allocations: 183.2 kB / 0.5921 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-05/0.4789, allocations: 176.3 kB / 0.5922 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.4792, allocations: 418.6 kB / 0.5926 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.452e-05/0.4792, allocations: 109.8 kB / 0.5927 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.4793, allocations: 107.3 kB / 0.5928 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-05/0.4793, allocations: 184.9 kB / 0.593 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/0.4794, allocations: 178.4 kB / 0.5932 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.423e-05/0.4795, allocations: 182 kB / 0.5933 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.493e-05/0.4795, allocations: 181.5 kB / 0.5935 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.4796, allocations: 315.3 kB / 0.5938 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.4797, allocations: 189.4 kB / 0.594 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.4798, allocations: 178.2 kB / 0.5942 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.4799, allocations: 107 kB / 0.5943 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.4799, allocations: 177.6 kB / 0.5944 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.48, allocations: 118.7 kB / 0.5946 GB, free: 8.941 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.893e-05/0.48, allocations: 104 kB / 0.5947 GB, free: 8.859 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4801, allocations: 0 / 0.5947 GB, free: 8.859 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001076/0.4811, allocations: 284 kB / 0.5949 GB, free: 8.797 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.001191/0.4823, allocations: 0.5316 MB / 0.5954 GB, free: 8.527 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.4825, allocations: 39.25 kB / 0.5955 GB, free: 8.492 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4825, allocations: 1.281 kB / 0.5955 GB, free: 8.492 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.943e-06/0.4825, allocations: 0 / 0.5955 GB, free: 8.492 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.4829, allocations: 0.5321 MB / 0.596 GB, free: 7.961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.4832, allocations: 246.9 kB / 0.5962 GB, free: 7.742 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.4834, allocations: 0.6834 MB / 0.5969 GB, free: 7.047 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.272e-05/0.4834, allocations: 0 / 0.5969 GB, free: 7.047 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.869e-06/0.4835, allocations: 13.5 kB / 0.5969 GB, free: 7.035 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4835, allocations: 1.188 kB / 0.5969 GB, free: 7.035 MB / 446.1 MB Notification: Performance of Templates: time 0.009915/0.4934, allocations: 5.653 MB / 0.6024 GB, free: 4.676 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)