Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 107 kB / 16.36 MB, free: 6.336 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.001257/0.001258, allocations: 193.8 kB / 17.29 MB, free: 5.883 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002075, allocations: 284 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8943/0.8943, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 98.83 kB / 0.5967 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.149, allocations: 86.98 MB / 0.6816 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002386/0.1514, allocations: 1.423 MB / 0.683 GB, free: 5.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003992/0.1554, allocations: 2.838 MB / 0.6858 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.1555, allocations: 4 kB / 0.6858 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.1555, allocations: 7.922 kB / 0.6858 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.1556, allocations: 15.86 kB / 0.6858 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.1589, allocations: 1.566 MB / 0.6874 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.676e-05/0.1589, allocations: 43.73 kB / 0.6874 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.159, allocations: 4 kB / 0.6874 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.285e-05/0.159, allocations: 11.94 kB / 0.6874 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.614e-05/0.159, allocations: 11.92 kB / 0.6874 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1591, allocations: 4 kB / 0.6874 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.1609, allocations: 1.49 MB / 0.6889 GB, free: 0 / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2505/0.4114, allocations: 2.094 kB / 0.6889 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.4115, allocations: 20.3 kB / 0.6889 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.414, allocations: 1.072 MB / 0.69 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.414, allocations: 1.531 kB / 0.69 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.414, allocations: 0 / 0.69 GB, free: 13.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.414, allocations: 1.75 kB / 0.69 GB, free: 13.49 MB / 494.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.0007661/0.4148, allocations: 0.5074 MB / 0.6905 GB, free: 13.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.4148, allocations: 9.438 kB / 0.6905 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.4149, allocations: 86.45 kB / 0.6906 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.237e-05/0.415, allocations: 250.1 kB / 0.6908 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.415, allocations: 154.7 kB / 0.6909 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.415, allocations: 155.2 kB / 0.6911 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.83e-05/0.4151, allocations: 109 kB / 0.6912 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4151, allocations: 77.47 kB / 0.6913 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.4151, allocations: 151.4 kB / 0.6914 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.4151, allocations: 151.2 kB / 0.6916 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.997e-05/0.4151, allocations: 159.6 kB / 0.6917 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.4153, allocations: 466.6 kB / 0.6921 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/0.4154, allocations: 166.2 kB / 0.6923 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.573e-05/0.4154, allocations: 80.14 kB / 0.6924 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.4154, allocations: 79.05 kB / 0.6925 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.4155, allocations: 116 kB / 0.6926 GB, free: 10.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.4155, allocations: 0 / 0.6926 GB, free: 10.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.765e-05/0.4155, allocations: 34.75 kB / 0.6926 GB, free: 10.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.4156, allocations: 131.3 kB / 0.6927 GB, free: 10.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.4157, allocations: 133.2 kB / 0.6929 GB, free: 10.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.4157, allocations: 26.92 kB / 0.6929 GB, free: 10.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.4157, allocations: 94.89 kB / 0.693 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.4157, allocations: 0 / 0.693 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.4158, allocations: 18.67 kB / 0.693 GB, free: 10.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.851e-05/0.4158, allocations: 315.5 kB / 0.6933 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.4158, allocations: 5.875 kB / 0.6933 GB, free: 10.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.952e-05/0.4159, allocations: 4.578 kB / 0.6933 GB, free: 10.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.63e-05/0.4159, allocations: 17.47 kB / 0.6933 GB, free: 10.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4159, allocations: 0.7969 kB / 0.6933 GB, free: 10.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001108/0.416, allocations: 50.7 kB / 0.6934 GB, free: 10.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.416, allocations: 8.484 kB / 0.6934 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.4161, allocations: 2.047 kB / 0.6934 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.4161, allocations: 0 / 0.6934 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.4161, allocations: 1.656 kB / 0.6934 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4161, allocations: 1.344 kB / 0.6934 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.4161, allocations: 3.312 kB / 0.6934 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.4161, allocations: 1.125 kB / 0.6934 GB, free: 10.07 MB / 494.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 4.886e-05/0.4162, allocations: 191.3 kB / 0.6936 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.4162, allocations: 117.2 kB / 0.6937 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.4163, allocations: 108.3 kB / 0.6938 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.4163, allocations: 186.8 kB / 0.694 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-05/0.4163, allocations: 183.5 kB / 0.6941 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/0.4163, allocations: 178.1 kB / 0.6943 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.4165, allocations: 412.1 kB / 0.6947 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.4165, allocations: 105.4 kB / 0.6948 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/0.4165, allocations: 108.9 kB / 0.6949 GB, free: 8.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-05/0.4166, allocations: 182.7 kB / 0.6951 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.4166, allocations: 183.4 kB / 0.6953 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-05/0.4166, allocations: 180.2 kB / 0.6954 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.135e-05/0.4166, allocations: 182 kB / 0.6956 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.055e-05/0.4167, allocations: 308.9 kB / 0.6959 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.4167, allocations: 191.5 kB / 0.6961 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.4168, allocations: 182.8 kB / 0.6962 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.4168, allocations: 108 kB / 0.6964 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.4169, allocations: 184.6 kB / 0.6965 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.4169, allocations: 106 kB / 0.6966 GB, free: 6.656 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.594e-05/0.4169, allocations: 99.22 kB / 0.6967 GB, free: 6.582 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4169, allocations: 2.078 kB / 0.6967 GB, free: 6.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009474/0.4179, allocations: 276.4 kB / 0.697 GB, free: 6.527 MB / 494.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.0009839/0.4189, allocations: 0.5174 MB / 0.6975 GB, free: 6.309 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.294e-05/0.419, allocations: 38.39 kB / 0.6975 GB, free: 6.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.419, allocations: 3.844 kB / 0.6975 GB, free: 6.277 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.419, allocations: 0 / 0.6975 GB, free: 6.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.4193, allocations: 467.3 kB / 0.698 GB, free: 5.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.4195, allocations: 240.6 kB / 0.6982 GB, free: 5.629 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.089e-05/0.4196, allocations: 0.6902 MB / 0.6989 GB, free: 4.926 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.152e-05/0.4196, allocations: 0.8125 kB / 0.6989 GB, free: 4.926 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-06/0.4197, allocations: 9.5 kB / 0.6989 GB, free: 4.918 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4197, allocations: 0.875 kB / 0.6989 GB, free: 4.918 MB / 494.1 MB Notification: Performance of Templates: time 0.009719/0.4294, allocations: 5.452 MB / 0.7042 GB, free: 4.566 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)