Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001148/0.001148, allocations: 105 kB / 16.35 MB, free: 5.824 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.001064/0.001064, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8341/0.8341, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.91 kB / 0.5156 GB, free: 14.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3864, allocations: 82.03 MB / 0.5958 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002208/0.3886, allocations: 1.419 MB / 0.5971 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.3918, allocations: 2.849 MB / 0.5999 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.3919, allocations: 0 / 0.5999 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.3919, allocations: 7.922 kB / 0.5999 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.31e-05/0.392, allocations: 16.83 kB / 0.5999 GB, free: 12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.3949, allocations: 1.564 MB / 0.6015 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.5e-05/0.395, allocations: 48.58 kB / 0.6015 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.395, allocations: 9.812 kB / 0.6015 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.058e-05/0.395, allocations: 9.188 kB / 0.6015 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.234e-05/0.3951, allocations: 15.94 kB / 0.6016 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.3951, allocations: 4 kB / 0.6016 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.3966, allocations: 1.48 MB / 0.603 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.3966, allocations: 7.922 kB / 0.603 GB, free: 8.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.3966, allocations: 19.92 kB / 0.603 GB, free: 8.887 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009567/0.3976, allocations: 1.073 MB / 0.6041 GB, free: 7.812 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3976, allocations: 0 / 0.6041 GB, free: 7.812 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3976, allocations: 1.156 kB / 0.6041 GB, free: 7.812 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3976, allocations: 0 / 0.6041 GB, free: 7.812 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.0004118/0.398, allocations: 0.5211 MB / 0.6046 GB, free: 7.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3981, allocations: 8.031 kB / 0.6046 GB, free: 7.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.3981, allocations: 80.22 kB / 0.6047 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.513e-05/0.3982, allocations: 257.2 kB / 0.6049 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3982, allocations: 150.9 kB / 0.6051 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.3983, allocations: 152.3 kB / 0.6052 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.36e-05/0.3983, allocations: 109 kB / 0.6053 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3983, allocations: 76.81 kB / 0.6054 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.3984, allocations: 154.6 kB / 0.6055 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.3984, allocations: 155.9 kB / 0.6057 GB, free: 6.082 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.3984, allocations: 154.5 kB / 0.6058 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.3986, allocations: 467.9 kB / 0.6063 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.041e-05/0.3986, allocations: 170.4 kB / 0.6064 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.3987, allocations: 80.14 kB / 0.6065 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.3987, allocations: 76.72 kB / 0.6066 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.3987, allocations: 109.8 kB / 0.6067 GB, free: 4.977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3987, allocations: 1.312 kB / 0.6067 GB, free: 4.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.06e-05/0.3988, allocations: 33.69 kB / 0.6067 GB, free: 4.938 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.3988, allocations: 128 kB / 0.6068 GB, free: 4.801 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.486e-05/0.3989, allocations: 136.1 kB / 0.607 GB, free: 4.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.3989, allocations: 25.7 kB / 0.607 GB, free: 4.629 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/0.3989, allocations: 92.95 kB / 0.6071 GB, free: 4.535 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.3989, allocations: 3.938 kB / 0.6071 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.399, allocations: 18.89 kB / 0.6071 GB, free: 4.508 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.399, allocations: 318.8 kB / 0.6074 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.399, allocations: 1.5 kB / 0.6074 GB, free: 4.188 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.272e-05/0.3991, allocations: 4 kB / 0.6074 GB, free: 4.184 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/0.3991, allocations: 24.78 kB / 0.6074 GB, free: 4.156 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3991, allocations: 1.375 kB / 0.6074 GB, free: 4.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.938e-05/0.3992, allocations: 41.64 kB / 0.6075 GB, free: 4.109 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.3992, allocations: 4 kB / 0.6075 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.3993, allocations: 5.344 kB / 0.6075 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3993, allocations: 0 / 0.6075 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.3993, allocations: 0 / 0.6075 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3993, allocations: 7.875 kB / 0.6075 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.902e-05/0.3993, allocations: 9.375 kB / 0.6075 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.3993, allocations: 7.984 kB / 0.6075 GB, free: 4.078 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 5.033e-05/0.3994, allocations: 182.4 kB / 0.6077 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.3994, allocations: 108.9 kB / 0.6078 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.3994, allocations: 106 kB / 0.6079 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.3995, allocations: 188.3 kB / 0.6081 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.413e-05/0.3995, allocations: 185.2 kB / 0.6083 GB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/0.3995, allocations: 185.7 kB / 0.6084 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.3996, allocations: 409.2 kB / 0.6088 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.3997, allocations: 106.3 kB / 0.6089 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.3997, allocations: 108.9 kB / 0.609 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-05/0.3997, allocations: 188.9 kB / 0.6092 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.3997, allocations: 181.3 kB / 0.6094 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.283e-05/0.3998, allocations: 177 kB / 0.6095 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.36e-05/0.3998, allocations: 181.7 kB / 0.6097 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.387e-05/0.3999, allocations: 313.2 kB / 0.61 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.3999, allocations: 189.9 kB / 0.6102 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.3999, allocations: 178.2 kB / 0.6104 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.412e-05/0.4, allocations: 105 kB / 0.6105 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.4, allocations: 184.2 kB / 0.6106 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.4001, allocations: 105.6 kB / 0.6107 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.353e-05/0.4001, allocations: 95.98 kB / 0.6108 GB, free: 476 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4001, allocations: 0 / 0.6108 GB, free: 476 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005238/0.4006, allocations: 282.2 kB / 0.6111 GB, free: 196 kB / 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.0008912/0.4015, allocations: 0.5111 MB / 0.6116 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.898e-05/0.4016, allocations: 46.91 kB / 0.6117 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4016, allocations: 0 / 0.6117 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.4017, allocations: 4 kB / 0.6117 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.402, allocations: 469.4 kB / 0.6121 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.4023, allocations: 246.1 kB / 0.6123 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.4025, allocations: 0.6814 MB / 0.613 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.103e-05/0.4026, allocations: 3.938 kB / 0.613 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.023e-05/0.4026, allocations: 8.062 kB / 0.613 GB, free: 14.18 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4026, allocations: 0.9062 kB / 0.613 GB, free: 14.18 MB / 462.1 MB Notification: Performance of Templates: time 0.008684/0.4113, allocations: 5.497 MB / 0.6184 GB, free: 8.777 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)