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.005734/0.005734, allocations: 101.9 kB / 15.73 MB, free: 6.438 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.001297/0.001297, allocations: 194.6 kB / 16.67 MB, free: 6.355 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.948/0.948, allocations: 143 MB / 433.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 0.5956 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3965, allocations: 82.03 MB / 0.6757 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004066/0.4006, allocations: 3.015 MB / 0.6786 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003243/0.4039, allocations: 2.162 MB / 0.6807 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00037/0.4043, allocations: 5.469 kB / 0.6807 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.4062, allocations: 0.4938 MB / 0.6812 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005479/0.4068, allocations: 153.3 kB / 0.6814 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.407, allocations: 57.81 kB / 0.6814 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006662/0.4076, allocations: 440.9 kB / 0.6819 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.4079, allocations: 153.9 kB / 0.682 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.4083, allocations: 164.7 kB / 0.6822 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.4086, allocations: 183.5 kB / 0.6823 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.958e-05/0.4087, allocations: 34.75 kB / 0.6824 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.4088, allocations: 33.91 kB / 0.6824 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.4089, allocations: 104.3 kB / 0.6825 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002613/0.4092, allocations: 217 kB / 0.6827 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.4098, allocations: 0.5634 MB / 0.6833 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4098, allocations: 1.375 kB / 0.6833 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4098, allocations: 0 / 0.6833 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.4098, allocations: 0 / 0.6833 GB, free: 11.79 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.001231/0.4111, allocations: 0.7013 MB / 0.6839 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.4111, allocations: 9.688 kB / 0.6839 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.4113, allocations: 46.09 kB / 0.684 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006148/0.4119, allocations: 382 kB / 0.6844 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.4119, allocations: 17.06 kB / 0.6844 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.412, allocations: 22.84 kB / 0.6844 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.4124, allocations: 206 kB / 0.6846 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.4124, allocations: 0 / 0.6846 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.4125, allocations: 10.56 kB / 0.6846 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4125, allocations: 6.156 kB / 0.6846 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.4129, allocations: 163.1 kB / 0.6848 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.4142, allocations: 0.864 MB / 0.6856 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.4145, allocations: 149 kB / 0.6857 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.4147, allocations: 115.7 kB / 0.6859 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.4147, allocations: 1.781 kB / 0.6859 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.4148, allocations: 35.88 kB / 0.6859 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.4148, allocations: 0 / 0.6859 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006089/0.4154, allocations: 258.8 kB / 0.6861 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.4154, allocations: 58.06 kB / 0.6862 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.4159, allocations: 412 kB / 0.6866 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.4159, allocations: 31.08 kB / 0.6866 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.4161, allocations: 208.5 kB / 0.6868 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.4161, allocations: 61.77 kB / 0.6869 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.4162, allocations: 33.23 kB / 0.6869 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4163, allocations: 351.5 kB / 0.6872 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.4165, allocations: 57.17 kB / 0.6873 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.4166, allocations: 57.66 kB / 0.6874 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.4169, allocations: 137.1 kB / 0.6875 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4169, allocations: 0 / 0.6875 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003736/0.4173, allocations: 208 kB / 0.6877 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4173, allocations: 9.5 kB / 0.6877 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4173, allocations: 3.984 kB / 0.6877 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4173, allocations: 5.438 kB / 0.6877 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.4176, allocations: 53.53 kB / 0.6878 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4176, allocations: 4.781 kB / 0.6878 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.4178, allocations: 17.58 kB / 0.6878 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.4178, allocations: 12 kB / 0.6878 GB, free: 8.238 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.0001598/0.418, allocations: 161.8 kB / 0.6879 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.418, allocations: 37.53 kB / 0.688 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.573e-05/0.4181, allocations: 42.88 kB / 0.688 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4181, allocations: 2.562 kB / 0.688 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4181, allocations: 0 / 0.688 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4181, allocations: 7.984 kB / 0.688 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.4185, allocations: 378.2 kB / 0.6884 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4186, allocations: 0 / 0.6884 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.4188, allocations: 61.66 kB / 0.6884 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4188, allocations: 2.25 kB / 0.6884 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.4188, allocations: 3.938 kB / 0.6885 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.4188, allocations: 2.125 kB / 0.6885 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4188, allocations: 0 / 0.6885 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.4194, allocations: 376.2 kB / 0.6888 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-05/0.4195, allocations: 115 kB / 0.6889 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.4196, allocations: 10.25 kB / 0.6889 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.4197, allocations: 11.36 kB / 0.6889 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.4198, allocations: 9.609 kB / 0.689 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.4198, allocations: 2.875 kB / 0.689 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003233/0.4201, allocations: 310.5 kB / 0.6892 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4201, allocations: 3.938 kB / 0.6893 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003085/0.4204, allocations: 72.47 kB / 0.6893 GB, free: 7.074 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.0001313/0.4206, allocations: 106 kB / 0.6894 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.4209, allocations: 144.8 kB / 0.6896 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4209, allocations: 0 / 0.6896 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.4211, allocations: 85.17 kB / 0.6896 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.4217, allocations: 86.48 kB / 0.6897 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.4229, allocations: 0.7612 MB / 0.6905 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.4232, allocations: 0.7932 MB / 0.6912 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.4234, allocations: 41.81 kB / 0.6913 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.4234, allocations: 24.34 kB / 0.6913 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4234, allocations: 0 / 0.6913 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of Templates: time 0.007584/0.431, allocations: 4.019 MB / 0.6952 GB, free: 2.238 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)