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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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.000989/0.000989, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009706/0.0009706, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9871/0.9871, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003525, allocations: 8 kB / 0.5159 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2098, allocations: 83.4 MB / 0.5973 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001784/0.2116, allocations: 1.125 MB / 0.5984 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004252/0.2159, allocations: 2.54 MB / 0.6009 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.216, allocations: 0 / 0.6009 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.216, allocations: 3.938 kB / 0.6009 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.297e-05/0.2161, allocations: 19.95 kB / 0.6009 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.2195, allocations: 1.204 MB / 0.6021 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.2195, allocations: 31.89 kB / 0.6021 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.2196, allocations: 4 kB / 0.6021 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.894e-05/0.2196, allocations: 15.91 kB / 0.6022 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.88e-05/0.2197, allocations: 11.94 kB / 0.6022 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.2197, allocations: 4 kB / 0.6022 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.2215, allocations: 1.162 MB / 0.6033 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.2215, allocations: 0 / 0.6033 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.2216, allocations: 41.64 kB / 0.6034 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009317/0.2225, allocations: 0.6943 MB / 0.604 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2225, allocations: 0 / 0.604 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2225, allocations: 0 / 0.604 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2225, allocations: 0 / 0.604 GB, free: 0.9102 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.0005724/0.2231, allocations: 0.5106 MB / 0.6045 GB, free: 360 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2232, allocations: 8.031 kB / 0.6045 GB, free: 352 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.2232, allocations: 83.14 kB / 0.6046 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3406/0.5638, allocations: 250.3 kB / 0.6049 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.5639, allocations: 152.2 kB / 0.605 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.564, allocations: 155.7 kB / 0.6051 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.655e-05/0.564, allocations: 103.7 kB / 0.6052 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.564, allocations: 75.84 kB / 0.6053 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.5641, allocations: 155.1 kB / 0.6055 GB, free: 40 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.5641, allocations: 151.1 kB / 0.6056 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.586e-05/0.5641, allocations: 157.9 kB / 0.6058 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.5644, allocations: 463.4 kB / 0.6062 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.493e-05/0.5644, allocations: 171.3 kB / 0.6064 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.5645, allocations: 80.41 kB / 0.6064 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.5645, allocations: 110.8 kB / 0.6066 GB, free: 38.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.385e-06/0.5645, allocations: 0 / 0.6066 GB, free: 38.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.217e-05/0.5646, allocations: 31.23 kB / 0.6066 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.5646, allocations: 128.1 kB / 0.6067 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.5648, allocations: 135.6 kB / 0.6068 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.5648, allocations: 25.7 kB / 0.6069 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.5649, allocations: 89.22 kB / 0.6069 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.5649, allocations: 3.391 kB / 0.6069 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.5649, allocations: 0 / 0.6069 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.5649, allocations: 321.2 kB / 0.6073 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.565, allocations: 6.938 kB / 0.6073 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.565, allocations: 8.594 kB / 0.6073 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.565, allocations: 6.375 kB / 0.6073 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.565, allocations: 1.438 kB / 0.6073 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000145/0.5652, allocations: 45.78 kB / 0.6073 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5652, allocations: 7.344 kB / 0.6073 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.5652, allocations: 4.141 kB / 0.6073 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.5653, allocations: 2.281 kB / 0.6073 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.472e-06/0.5653, allocations: 2.438 kB / 0.6073 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5653, allocations: 3.875 kB / 0.6073 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.674e-05/0.5653, allocations: 3.953 kB / 0.6073 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.5653, allocations: 2.156 kB / 0.6073 GB, free: 38.14 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.189e-05/0.5654, allocations: 187.2 kB / 0.6075 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.5654, allocations: 109.6 kB / 0.6076 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.5655, allocations: 114.2 kB / 0.6077 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/0.5655, allocations: 182 kB / 0.6079 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.466e-05/0.5655, allocations: 181.9 kB / 0.6081 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/0.5656, allocations: 179.1 kB / 0.6083 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.5657, allocations: 418.6 kB / 0.6087 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.5658, allocations: 105.1 kB / 0.6088 GB, free: 36.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.367e-05/0.5658, allocations: 105.5 kB / 0.6089 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.319e-05/0.5658, allocations: 180.7 kB / 0.609 GB, free: 36.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.5658, allocations: 188 kB / 0.6092 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-05/0.5659, allocations: 181.2 kB / 0.6094 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.533e-05/0.5659, allocations: 178.4 kB / 0.6095 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.064e-05/0.566, allocations: 320.5 kB / 0.6099 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.566, allocations: 188 kB / 0.61 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.5661, allocations: 178.7 kB / 0.6102 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.945e-05/0.5661, allocations: 101.9 kB / 0.6103 GB, free: 35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.483e-05/0.5662, allocations: 186.8 kB / 0.6105 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.5662, allocations: 106 kB / 0.6106 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.5662, allocations: 99.52 kB / 0.6107 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.082e-06/0.5662, allocations: 0 / 0.6107 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008409/0.5671, allocations: 278.5 kB / 0.6109 GB, free: 34.64 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008669/0.568, allocations: 0.4914 MB / 0.6114 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.191e-05/0.5681, allocations: 40.73 kB / 0.6115 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5681, allocations: 5.625 kB / 0.6115 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.5681, allocations: 0 / 0.6115 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.5684, allocations: 0.5294 MB / 0.612 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.5686, allocations: 259.4 kB / 0.6122 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.5688, allocations: 0.6864 MB / 0.6129 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.33e-05/0.5688, allocations: 0 / 0.6129 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.699e-06/0.5688, allocations: 7.438 kB / 0.6129 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.5688, allocations: 2.656 kB / 0.6129 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.008173/0.577, allocations: 5.462 MB / 0.6182 GB, free: 32.62 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) Environment - environmentSimulation: