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.005403/0.005402, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.001169/0.001169, allocations: 193 kB / 16.67 MB, free: 5.934 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9298/0.9298, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.91 kB / 0.5857 GB, free: 3.27 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3968, allocations: 80.91 MB / 0.6647 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002317/0.3992, allocations: 1.431 MB / 0.6661 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003994/0.4032, allocations: 2.879 MB / 0.6689 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.4033, allocations: 0 / 0.6689 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.795e-05/0.4033, allocations: 7.922 kB / 0.6689 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.4035, allocations: 14.3 kB / 0.669 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004636/0.4081, allocations: 1.584 MB / 0.6705 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.4083, allocations: 38.69 kB / 0.6705 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.07e-05/0.4083, allocations: 6.734 kB / 0.6705 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.253e-05/0.4084, allocations: 12.12 kB / 0.6706 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.388e-05/0.4084, allocations: 23.25 kB / 0.6706 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.4084, allocations: 1.375 kB / 0.6706 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.4108, allocations: 1.526 MB / 0.6721 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.4108, allocations: 6.344 kB / 0.6721 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.4108, allocations: 18.59 kB / 0.6721 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.4124, allocations: 1.106 MB / 0.6732 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4124, allocations: 1.344 kB / 0.6732 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4125, allocations: 0 / 0.6732 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.4125, allocations: 0 / 0.6732 GB, free: 1.578 MB / 0.4981 GB 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.000626/0.4131, allocations: 0.531 MB / 0.6737 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4132, allocations: 10.72 kB / 0.6737 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.4132, allocations: 81.86 kB / 0.6738 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.4134, allocations: 259.4 kB / 0.674 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.4134, allocations: 158.7 kB / 0.6742 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.4134, allocations: 152.2 kB / 0.6743 GB, free: 400 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.559e-05/0.4135, allocations: 104.9 kB / 0.6744 GB, free: 288 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4135, allocations: 79.22 kB / 0.6745 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.4136, allocations: 152.3 kB / 0.6746 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.332e-05/0.4136, allocations: 154.6 kB / 0.6748 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.883e-05/0.4137, allocations: 150.6 kB / 0.6749 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.414, allocations: 462.2 kB / 0.6754 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.729e-05/0.4141, allocations: 170.7 kB / 0.6755 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.4142, allocations: 92.08 kB / 0.6756 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.4142, allocations: 75.28 kB / 0.6757 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.686e-05/0.4143, allocations: 111.5 kB / 0.6758 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.4143, allocations: 0 / 0.6758 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.753e-05/0.4144, allocations: 37.2 kB / 0.6758 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.4145, allocations: 126.7 kB / 0.676 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.4147, allocations: 134.7 kB / 0.6761 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.4147, allocations: 25.7 kB / 0.6761 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.4148, allocations: 87.52 kB / 0.6762 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.4148, allocations: 16 / 0.6762 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.4148, allocations: 22.86 kB / 0.6762 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4149, allocations: 316.9 kB / 0.6765 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.415, allocations: 7.156 kB / 0.6765 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.837e-05/0.415, allocations: 7.625 kB / 0.6765 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/0.4151, allocations: 21.83 kB / 0.6766 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4151, allocations: 1.969 kB / 0.6766 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001393/0.4152, allocations: 46.56 kB / 0.6766 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4152, allocations: 6.188 kB / 0.6766 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.4153, allocations: 2.812 kB / 0.6766 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4153, allocations: 3.984 kB / 0.6766 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.589e-06/0.4153, allocations: 1.5 kB / 0.6766 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4153, allocations: 3.938 kB / 0.6766 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.4153, allocations: 1.406 kB / 0.6766 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.4154, allocations: 0 / 0.6766 GB, free: 13.97 MB / 0.5137 GB 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 0.000131/0.4155, allocations: 197.4 kB / 0.6768 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/0.4156, allocations: 114.5 kB / 0.6769 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.4156, allocations: 115.3 kB / 0.677 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-05/0.4157, allocations: 189.4 kB / 0.6772 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-05/0.4158, allocations: 177.4 kB / 0.6774 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.719e-05/0.4159, allocations: 185.4 kB / 0.6776 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.4162, allocations: 415.6 kB / 0.678 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-05/0.4163, allocations: 106.8 kB / 0.6781 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.4164, allocations: 104.9 kB / 0.6782 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.771e-05/0.4164, allocations: 177.8 kB / 0.6783 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.4165, allocations: 185.8 kB / 0.6785 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.712e-05/0.4166, allocations: 184.2 kB / 0.6787 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.194e-05/0.4167, allocations: 177.6 kB / 0.6788 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.4169, allocations: 316.1 kB / 0.6791 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.4171, allocations: 188.8 kB / 0.6793 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.4172, allocations: 181.8 kB / 0.6795 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.4173, allocations: 105 kB / 0.6796 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.4174, allocations: 181.6 kB / 0.6798 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-05/0.4174, allocations: 106.7 kB / 0.6799 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.791e-05/0.4175, allocations: 102.8 kB / 0.68 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4175, allocations: 0 / 0.68 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009086/0.4185, allocations: 288.6 kB / 0.6802 GB, free: 10.27 MB / 0.5137 GB 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.001121/0.4196, allocations: 0.5343 MB / 0.6808 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.4197, allocations: 46.62 kB / 0.6808 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4197, allocations: 0 / 0.6808 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.956e-06/0.4197, allocations: 0.8438 kB / 0.6808 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.4201, allocations: 468.2 kB / 0.6813 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.4205, allocations: 242.8 kB / 0.6815 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.4207, allocations: 0.6852 MB / 0.6822 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.238e-05/0.4208, allocations: 0 / 0.6822 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.222e-05/0.4208, allocations: 9.312 kB / 0.6822 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.4208, allocations: 1.031 kB / 0.6822 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of Templates: time 0.009462/0.4303, allocations: 5.592 MB / 0.6876 GB, free: 5.668 MB / 0.5137 GB 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)