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.001622/0.001622, allocations: 104.3 kB / 16.27 MB, free: 5.984 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.001401/0.001401, allocations: 191.2 kB / 17.2 MB, free: 5.609 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.472/1.472, 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-master/package.mo): time 0.8485/0.8485, allocations: 135.1 MB / 426.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 67.89 kB / 0.5061 GB, free: 8.297 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4336, allocations: 80.91 MB / 0.5851 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002675/0.4363, allocations: 1.419 MB / 0.5865 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004023/0.4404, allocations: 2.878 MB / 0.5893 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.4405, allocations: 0.5625 kB / 0.5893 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.4406, allocations: 3.938 kB / 0.5893 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.803e-05/0.4406, allocations: 23.19 kB / 0.5893 GB, free: 21.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003938/0.4446, allocations: 1.577 MB / 0.5908 GB, free: 20.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.91e-05/0.4447, allocations: 44.3 kB / 0.5909 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.4447, allocations: 7.031 kB / 0.5909 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.4448, allocations: 11.94 kB / 0.5909 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.833e-05/0.4448, allocations: 23.91 kB / 0.5909 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.4448, allocations: 0.5 kB / 0.5909 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.4469, allocations: 1.448 MB / 0.5923 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.447, allocations: 11.88 kB / 0.5923 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.447, allocations: 26.7 kB / 0.5924 GB, free: 19.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.4487, allocations: 1.088 MB / 0.5934 GB, free: 18.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4487, allocations: 0 / 0.5934 GB, free: 18.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4487, allocations: 0 / 0.5934 GB, free: 18.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.4488, allocations: 0 / 0.5934 GB, free: 18.01 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.0006373/0.4494, allocations: 0.5284 MB / 0.5939 GB, free: 17.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4495, allocations: 9.844 kB / 0.594 GB, free: 17.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.4495, allocations: 84.12 kB / 0.594 GB, free: 17.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.4496, allocations: 251.5 kB / 0.5943 GB, free: 17.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.4497, allocations: 151.5 kB / 0.5944 GB, free: 16.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.4497, allocations: 158.9 kB / 0.5946 GB, free: 16.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.435e-05/0.4498, allocations: 102.2 kB / 0.5947 GB, free: 16.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4498, allocations: 79.28 kB / 0.5947 GB, free: 16.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.4498, allocations: 157 kB / 0.5949 GB, free: 16.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.4499, allocations: 150.6 kB / 0.595 GB, free: 16.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.4499, allocations: 154.6 kB / 0.5952 GB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.4502, allocations: 467.1 kB / 0.5956 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.75e-05/0.4502, allocations: 174.5 kB / 0.5958 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.4503, allocations: 81.23 kB / 0.5959 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.4503, allocations: 75.28 kB / 0.5959 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.4503, allocations: 111.7 kB / 0.5961 GB, free: 15.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.4503, allocations: 0 / 0.5961 GB, free: 15.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.17e-05/0.4504, allocations: 33.55 kB / 0.5961 GB, free: 15.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.4505, allocations: 132.2 kB / 0.5962 GB, free: 14.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.4506, allocations: 136.6 kB / 0.5963 GB, free: 14.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.4506, allocations: 25.7 kB / 0.5964 GB, free: 14.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.4507, allocations: 101.2 kB / 0.5965 GB, free: 14.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-06/0.4507, allocations: 0 / 0.5965 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.4507, allocations: 14.69 kB / 0.5965 GB, free: 14.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.634e-05/0.4508, allocations: 319.9 kB / 0.5968 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/0.4508, allocations: 4 kB / 0.5968 GB, free: 14.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.705e-05/0.4508, allocations: 8 kB / 0.5968 GB, free: 14.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.585e-05/0.4509, allocations: 14.42 kB / 0.5968 GB, free: 14.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4509, allocations: 3.938 kB / 0.5968 GB, free: 14.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001294/0.451, allocations: 57.53 kB / 0.5969 GB, free: 14.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.451, allocations: 9.625 kB / 0.5969 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.451, allocations: 0 / 0.5969 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4511, allocations: 4 kB / 0.5969 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.4511, allocations: 0 / 0.5969 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.4511, allocations: 0 / 0.5969 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.4511, allocations: 5.156 kB / 0.5969 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.4511, allocations: 0 / 0.5969 GB, free: 14.26 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.185e-05/0.4512, allocations: 190.6 kB / 0.5971 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.4512, allocations: 104.9 kB / 0.5972 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.4513, allocations: 117.9 kB / 0.5973 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/0.4513, allocations: 180.3 kB / 0.5975 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-05/0.4513, allocations: 187.2 kB / 0.5976 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.81e-05/0.4514, allocations: 184.2 kB / 0.5978 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.4515, allocations: 413.1 kB / 0.5982 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/0.4516, allocations: 109.7 kB / 0.5983 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.4516, allocations: 113 kB / 0.5984 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.563e-05/0.4516, allocations: 177 kB / 0.5986 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.4517, allocations: 181.2 kB / 0.5988 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.962e-05/0.4517, allocations: 184.8 kB / 0.5989 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.728e-05/0.4517, allocations: 181.7 kB / 0.5991 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.71e-05/0.4518, allocations: 313.9 kB / 0.5994 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.4519, allocations: 186.1 kB / 0.5996 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.4519, allocations: 176.3 kB / 0.5997 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.452, allocations: 105.6 kB / 0.5998 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.452, allocations: 186.2 kB / 0.6 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.4521, allocations: 108.9 kB / 0.6001 GB, free: 10.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.381e-05/0.4521, allocations: 103.2 kB / 0.6002 GB, free: 10.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4521, allocations: 2.125 kB / 0.6002 GB, free: 10.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007219/0.4529, allocations: 275.8 kB / 0.6005 GB, free: 10.36 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.001123/0.454, allocations: 0.5284 MB / 0.601 GB, free: 9.824 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.667e-05/0.4541, allocations: 42.33 kB / 0.6011 GB, free: 9.777 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4541, allocations: 0 / 0.6011 GB, free: 9.777 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.4541, allocations: 4.938 kB / 0.6011 GB, free: 9.773 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.4544, allocations: 473.1 kB / 0.6015 GB, free: 9.309 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.4548, allocations: 259.3 kB / 0.6018 GB, free: 9.027 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.4549, allocations: 0.6851 MB / 0.6024 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.4549, allocations: 11.44 kB / 0.6024 GB, free: 8.305 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4549, allocations: 2.188 kB / 0.6024 GB, free: 8.305 MB / 446.1 MB Notification: Performance of Templates: time 0.007746/0.4627, allocations: 4.746 MB / 0.6071 GB, free: 3.586 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)