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.008531/0.008532, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001924/0.001924, allocations: 191.6 kB / 16.67 MB, free: 5.973 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9623/0.9623, allocations: 135.1 MB / 425.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.89 kB / 0.5857 GB, free: 3.254 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.426, allocations: 80.91 MB / 0.6647 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002102/0.4281, allocations: 1.428 MB / 0.6661 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003389/0.4315, allocations: 2.877 MB / 0.6689 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.4315, allocations: 1.406 kB / 0.6689 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.4316, allocations: 7.922 kB / 0.6689 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.013e-05/0.4316, allocations: 13.27 kB / 0.6689 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003194/0.4348, allocations: 1.583 MB / 0.6705 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.008e-05/0.4349, allocations: 42.14 kB / 0.6705 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.435, allocations: 6.484 kB / 0.6705 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.942e-05/0.435, allocations: 16.16 kB / 0.6706 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.98e-05/0.4351, allocations: 23.92 kB / 0.6706 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.4351, allocations: 1.75 kB / 0.6706 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.4369, allocations: 1.522 MB / 0.6721 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.4369, allocations: 1.5 kB / 0.6721 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.437, allocations: 19.42 kB / 0.6721 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.4382, allocations: 1.102 MB / 0.6732 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.4382, allocations: 0 / 0.6732 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4382, allocations: 0 / 0.6732 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.4382, allocations: 5.625 kB / 0.6732 GB, free: 1.586 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.0004773/0.4387, allocations: 0.5159 MB / 0.6737 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4387, allocations: 10.44 kB / 0.6737 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.4388, allocations: 82.06 kB / 0.6738 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.4389, allocations: 252.4 kB / 0.674 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.4389, allocations: 156 kB / 0.6741 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.439, allocations: 158.6 kB / 0.6743 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.978e-05/0.439, allocations: 106.1 kB / 0.6744 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.439, allocations: 75.28 kB / 0.6745 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.4391, allocations: 150.6 kB / 0.6746 GB, free: 84 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-05/0.4391, allocations: 151.6 kB / 0.6748 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.438e-05/0.4392, allocations: 158.5 kB / 0.6749 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.4395, allocations: 467 kB / 0.6754 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.871e-05/0.4396, allocations: 173 kB / 0.6755 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.4397, allocations: 80.98 kB / 0.6756 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.4397, allocations: 75.28 kB / 0.6757 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.4398, allocations: 115.5 kB / 0.6758 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.4398, allocations: 0 / 0.6758 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.423e-05/0.4398, allocations: 33.17 kB / 0.6758 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.4399, allocations: 130.6 kB / 0.6759 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.4401, allocations: 134.4 kB / 0.6761 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.4401, allocations: 25.7 kB / 0.6761 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.4402, allocations: 93.97 kB / 0.6762 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.4402, allocations: 4.016 kB / 0.6762 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.4402, allocations: 19.12 kB / 0.6762 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4403, allocations: 317 kB / 0.6765 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.4404, allocations: 7.344 kB / 0.6765 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.531e-05/0.4404, allocations: 3.703 kB / 0.6765 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/0.4405, allocations: 17.61 kB / 0.6765 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4405, allocations: 1 kB / 0.6765 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001306/0.4406, allocations: 56.16 kB / 0.6766 GB, free: 14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4406, allocations: 5.5 kB / 0.6766 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.4406, allocations: 6.781 kB / 0.6766 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4407, allocations: 1.406 kB / 0.6766 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.4407, allocations: 3.938 kB / 0.6766 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.4407, allocations: 3.984 kB / 0.6766 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.4407, allocations: 9 kB / 0.6766 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.4407, allocations: 1.25 kB / 0.6766 GB, free: 13.98 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.0001103/0.4408, allocations: 191 kB / 0.6768 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.4409, allocations: 108.9 kB / 0.6769 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.194e-05/0.441, allocations: 125.9 kB / 0.677 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.661e-05/0.4411, allocations: 181.8 kB / 0.6772 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.668e-05/0.4411, allocations: 177.6 kB / 0.6774 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.22e-05/0.4412, allocations: 180.2 kB / 0.6775 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.4415, allocations: 420.1 kB / 0.6779 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.278e-05/0.4415, allocations: 110 kB / 0.678 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.4416, allocations: 102.2 kB / 0.6781 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.13e-05/0.4417, allocations: 177.2 kB / 0.6783 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.34e-05/0.4417, allocations: 181.3 kB / 0.6785 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.047e-05/0.4418, allocations: 185.2 kB / 0.6787 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.343e-05/0.4419, allocations: 181.3 kB / 0.6788 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.4421, allocations: 309.1 kB / 0.6791 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.422e-05/0.4422, allocations: 195.2 kB / 0.6793 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.733e-05/0.4423, allocations: 185.5 kB / 0.6795 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.4424, allocations: 106.3 kB / 0.6796 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.4424, allocations: 181.6 kB / 0.6798 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.4425, allocations: 105 kB / 0.6799 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.581e-05/0.4426, allocations: 111 kB / 0.68 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4426, allocations: 0 / 0.68 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008097/0.4434, allocations: 269.8 kB / 0.6802 GB, free: 10.3 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.001/0.4444, allocations: 0.5356 MB / 0.6808 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.299e-05/0.4445, allocations: 38.86 kB / 0.6808 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4445, allocations: 0 / 0.6808 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.4445, allocations: 0 / 0.6808 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.4449, allocations: 472.5 kB / 0.6812 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.4453, allocations: 241.5 kB / 0.6815 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.4457, allocations: 0.6816 MB / 0.6821 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.458e-05/0.4457, allocations: 0 / 0.6821 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.568e-05/0.4457, allocations: 9.344 kB / 0.6821 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.4457, allocations: 4 kB / 0.6821 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of Templates: time 0.01187/0.4576, allocations: 5.585 MB / 0.6876 GB, free: 5.707 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)