Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 107.2 kB / 16.27 MB, free: 6.355 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.001344/0.001344, allocations: 192.3 kB / 17.2 MB, free: 5.953 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9169/0.9169, allocations: 143.3 MB / 434.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 0.5151 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3595, allocations: 82.03 MB / 0.5952 GB, free: 16.04 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003468/0.363, allocations: 3.02 MB / 0.5982 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.365, allocations: 2.144 MB / 0.6003 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.3652, allocations: 11.88 kB / 0.6003 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.3663, allocations: 0.4927 MB / 0.6008 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.3665, allocations: 149.5 kB / 0.6009 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.3666, allocations: 59.94 kB / 0.601 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.367, allocations: 439.1 kB / 0.6014 GB, free: 9.738 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.3672, allocations: 161.2 kB / 0.6015 GB, free: 9.578 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.3673, allocations: 155.3 kB / 0.6017 GB, free: 9.426 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.3675, allocations: 187.1 kB / 0.6019 GB, free: 9.242 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.3675, allocations: 37.5 kB / 0.6019 GB, free: 9.207 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.419e-05/0.3676, allocations: 36 kB / 0.6019 GB, free: 9.172 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.511e-05/0.3677, allocations: 91.67 kB / 0.602 GB, free: 9.082 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3678, allocations: 218.9 kB / 0.6022 GB, free: 8.867 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.3681, allocations: 0.5619 MB / 0.6028 GB, free: 8.305 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3682, allocations: 0 / 0.6028 GB, free: 8.305 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3682, allocations: 0 / 0.6028 GB, free: 8.305 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3682, allocations: 0 / 0.6028 GB, free: 8.305 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008024/0.369, allocations: 0.6995 MB / 0.6035 GB, free: 7.559 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.369, allocations: 9.312 kB / 0.6035 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.3691, allocations: 52.31 kB / 0.6035 GB, free: 7.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.3694, allocations: 374 kB / 0.6039 GB, free: 7.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.3695, allocations: 17.97 kB / 0.6039 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.3695, allocations: 28.36 kB / 0.6039 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.3698, allocations: 200.6 kB / 0.6041 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3699, allocations: 0 / 0.6041 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.3699, allocations: 9.469 kB / 0.6041 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3699, allocations: 4 kB / 0.6041 GB, free: 6.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.3702, allocations: 165.7 kB / 0.6043 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009162/0.3712, allocations: 0.8752 MB / 0.6051 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.3714, allocations: 147.8 kB / 0.6053 GB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.3716, allocations: 114.5 kB / 0.6054 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.3716, allocations: 7.938 kB / 0.6054 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.3717, allocations: 35.66 kB / 0.6054 GB, free: 5.418 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.3717, allocations: 0 / 0.6054 GB, free: 5.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005227/0.3722, allocations: 259.2 kB / 0.6057 GB, free: 5.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.3722, allocations: 55.39 kB / 0.6057 GB, free: 5.094 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.3726, allocations: 418.3 kB / 0.6061 GB, free: 4.676 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.3726, allocations: 25.7 kB / 0.6062 GB, free: 4.645 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.3727, allocations: 209.6 kB / 0.6064 GB, free: 4.438 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.3727, allocations: 63.09 kB / 0.6064 GB, free: 4.375 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.3728, allocations: 33.7 kB / 0.6064 GB, free: 4.336 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.305e-05/0.3729, allocations: 343.4 kB / 0.6068 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.373, allocations: 61.55 kB / 0.6068 GB, free: 3.934 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.3731, allocations: 55.97 kB / 0.6069 GB, free: 3.879 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.3734, allocations: 140.3 kB / 0.607 GB, free: 3.742 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3734, allocations: 4 kB / 0.607 GB, free: 3.738 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003115/0.3737, allocations: 202.6 kB / 0.6072 GB, free: 3.535 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3737, allocations: 9.875 kB / 0.6072 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3737, allocations: 1.844 kB / 0.6072 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3737, allocations: 3.938 kB / 0.6072 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.374, allocations: 51.91 kB / 0.6073 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.374, allocations: 7.938 kB / 0.6073 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.3741, allocations: 20.67 kB / 0.6073 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.3741, allocations: 4 kB / 0.6073 GB, free: 3.441 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.000107/0.3743, allocations: 160.4 kB / 0.6075 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.3743, allocations: 39.52 kB / 0.6075 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.874e-05/0.3744, allocations: 43.53 kB / 0.6075 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3744, allocations: 4 kB / 0.6075 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3744, allocations: 0 / 0.6075 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3744, allocations: 0.75 kB / 0.6076 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.3747, allocations: 373.3 kB / 0.6079 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3747, allocations: 5.484 kB / 0.6079 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.3749, allocations: 59.91 kB / 0.608 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.375, allocations: 0 / 0.608 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.375, allocations: 9.422 kB / 0.608 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.375, allocations: 3.984 kB / 0.608 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.375, allocations: 4 kB / 0.608 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.3755, allocations: 383.6 kB / 0.6084 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.3755, allocations: 118.2 kB / 0.6085 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.3756, allocations: 7.938 kB / 0.6085 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.3757, allocations: 8 kB / 0.6085 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.3758, allocations: 8.734 kB / 0.6085 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.3758, allocations: 11.98 kB / 0.6085 GB, free: 2.137 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002343/0.376, allocations: 299.8 kB / 0.6088 GB, free: 1.852 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3761, allocations: 0 / 0.6088 GB, free: 1.852 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.3763, allocations: 77.28 kB / 0.6089 GB, free: 1.777 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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 9.644e-05/0.3764, allocations: 111.2 kB / 0.609 GB, free: 1.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.3768, allocations: 156.3 kB / 0.6091 GB, free: 1.512 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3768, allocations: 0 / 0.6091 GB, free: 1.512 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.3769, allocations: 79.89 kB / 0.6092 GB, free: 1.434 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.3775, allocations: 92.97 kB / 0.6093 GB, free: 1.348 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.3786, allocations: 0.7965 MB / 0.6101 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.3789, allocations: 0.7951 MB / 0.6108 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.379, allocations: 23.44 kB / 0.6109 GB, free: 15.71 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.379, allocations: 0 / 0.6109 GB, free: 15.71 MB / 462.1 MB Notification: Performance of Templates: time 0.007319/0.3863, allocations: 4.358 MB / 0.6151 GB, free: 11.39 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)