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/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.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.005114/0.005119, allocations: 103.9 kB / 15.73 MB, free: 6.492 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.001141/0.001141, allocations: 190 kB / 16.67 MB, free: 6.379 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.9284/0.9284, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.88 kB / 0.5956 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3708, allocations: 82.02 MB / 0.6757 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00369/0.3745, allocations: 3.024 MB / 0.6786 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.3771, allocations: 2.153 MB / 0.6807 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.3772, allocations: 10.56 kB / 0.6808 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.3785, allocations: 0.4883 MB / 0.6812 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.3788, allocations: 153 kB / 0.6814 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.3789, allocations: 58.56 kB / 0.6814 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.3793, allocations: 445.3 kB / 0.6819 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.3795, allocations: 150.6 kB / 0.682 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.3797, allocations: 160.4 kB / 0.6822 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.3799, allocations: 191.4 kB / 0.6823 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.38, allocations: 34 kB / 0.6824 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.19e-05/0.3801, allocations: 34.81 kB / 0.6824 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.3802, allocations: 95.67 kB / 0.6825 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.3804, allocations: 216.5 kB / 0.6827 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004587/0.3808, allocations: 0.5647 MB / 0.6832 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3808, allocations: 0 / 0.6832 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3809, allocations: 0 / 0.6832 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.3809, allocations: 1.375 kB / 0.6833 GB, free: 11.63 MB / 0.5137 GB 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.0008993/0.3818, allocations: 0.6993 MB / 0.6839 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.3818, allocations: 9.625 kB / 0.6839 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.3819, allocations: 46.38 kB / 0.684 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.3824, allocations: 381.5 kB / 0.6844 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.3824, allocations: 21.75 kB / 0.6844 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.3824, allocations: 25.38 kB / 0.6844 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.3828, allocations: 199.2 kB / 0.6846 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3828, allocations: 0 / 0.6846 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.3829, allocations: 10.47 kB / 0.6846 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3829, allocations: 4.594 kB / 0.6846 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.3832, allocations: 164.1 kB / 0.6848 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.3843, allocations: 0.8692 MB / 0.6856 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.3846, allocations: 147.8 kB / 0.6857 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.3848, allocations: 117.1 kB / 0.6859 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.3848, allocations: 1.375 kB / 0.6859 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.3848, allocations: 31.94 kB / 0.6859 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.3848, allocations: 1.375 kB / 0.6859 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0005475/0.3854, allocations: 261.6 kB / 0.6861 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.3854, allocations: 53.84 kB / 0.6862 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.3859, allocations: 416.6 kB / 0.6866 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3859, allocations: 30.86 kB / 0.6866 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.386, allocations: 204.4 kB / 0.6868 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.3861, allocations: 67.12 kB / 0.6869 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.3862, allocations: 32.08 kB / 0.6869 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3863, allocations: 348.2 kB / 0.6872 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3864, allocations: 56.23 kB / 0.6873 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.3866, allocations: 66.22 kB / 0.6874 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.3868, allocations: 133.6 kB / 0.6875 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3869, allocations: 3.938 kB / 0.6875 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000363/0.3872, allocations: 204.4 kB / 0.6877 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3872, allocations: 9.438 kB / 0.6877 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3873, allocations: 0 / 0.6877 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3873, allocations: 9.406 kB / 0.6877 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.3876, allocations: 57.56 kB / 0.6878 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.3876, allocations: 4.906 kB / 0.6878 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.3877, allocations: 21.27 kB / 0.6878 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3877, allocations: 4.281 kB / 0.6878 GB, free: 8.074 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 (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.0001864/0.3879, allocations: 161.9 kB / 0.6879 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.388, allocations: 36 kB / 0.688 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.236e-05/0.3881, allocations: 48.16 kB / 0.688 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3881, allocations: 1.219 kB / 0.688 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3881, allocations: 1.25 kB / 0.688 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3881, allocations: 0 / 0.688 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.3886, allocations: 377.6 kB / 0.6884 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3886, allocations: 0 / 0.6884 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.3888, allocations: 57.94 kB / 0.6884 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3889, allocations: 1.375 kB / 0.6884 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.3889, allocations: 5.562 kB / 0.6884 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3889, allocations: 0 / 0.6884 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.3889, allocations: 5.469 kB / 0.6884 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005921/0.3895, allocations: 372 kB / 0.6888 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.3896, allocations: 119 kB / 0.6889 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.3896, allocations: 5.812 kB / 0.6889 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.3898, allocations: 11.83 kB / 0.6889 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.3898, allocations: 14.23 kB / 0.6889 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3899, allocations: 1.969 kB / 0.6889 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003002/0.3902, allocations: 310.3 kB / 0.6892 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3902, allocations: 0 / 0.6892 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002899/0.3905, allocations: 72.44 kB / 0.6893 GB, free: 6.918 MB / 0.5137 GB 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 0.0001262/0.3906, allocations: 107.1 kB / 0.6894 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.3909, allocations: 146.5 kB / 0.6896 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.391, allocations: 0 / 0.6896 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.3911, allocations: 82.64 kB / 0.6896 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.3917, allocations: 106 kB / 0.6897 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.3928, allocations: 0.7519 MB / 0.6905 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.3932, allocations: 0.7942 MB / 0.6912 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.3933, allocations: 41.61 kB / 0.6913 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.3934, allocations: 25.22 kB / 0.6913 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.3934, allocations: 0 / 0.6913 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of Templates: time 0.007338/0.4007, allocations: 4.105 MB / 0.6953 GB, free: 2.082 MB / 0.5137 GB 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)