Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001232/0.001232, allocations: 101.7 kB / 16.4 MB, free: 6.457 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.001324/0.001324, allocations: 189.8 kB / 17.34 MB, free: 5.719 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002343/0.002343, allocations: 286.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9433/0.9433, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 107.8 kB / 0.6822 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4804/0.4824, allocations: 86.96 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004264/0.4867, allocations: 3.026 MB / 0.77 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002888/0.4896, allocations: 2.148 MB / 0.7721 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.4898, allocations: 4 kB / 0.7721 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.4913, allocations: 0.4991 MB / 0.7726 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.4916, allocations: 146.8 kB / 0.7728 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.4918, allocations: 67.92 kB / 0.7728 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.4922, allocations: 441.9 kB / 0.7733 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.4925, allocations: 155.2 kB / 0.7734 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.4927, allocations: 159.4 kB / 0.7736 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.4929, allocations: 183.1 kB / 0.7737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.808e-05/0.493, allocations: 32 kB / 0.7738 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.251e-05/0.4931, allocations: 36 kB / 0.7738 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.4932, allocations: 99.66 kB / 0.7739 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.4934, allocations: 214.9 kB / 0.7741 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005223/0.4939, allocations: 0.5411 MB / 0.7746 GB, free: 12.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4939, allocations: 4 kB / 0.7746 GB, free: 12.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4939, allocations: 0 / 0.7746 GB, free: 12.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.4939, allocations: 0 / 0.7746 GB, free: 12.17 MB / 0.545 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.001034/0.495, allocations: 0.7123 MB / 0.7753 GB, free: 11.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.495, allocations: 8.031 kB / 0.7753 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.213e-05/0.4951, allocations: 44.38 kB / 0.7754 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.4957, allocations: 382 kB / 0.7757 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.4957, allocations: 20.75 kB / 0.7758 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.4958, allocations: 24.38 kB / 0.7758 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.4962, allocations: 203.6 kB / 0.776 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4962, allocations: 0 / 0.776 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.4962, allocations: 8 kB / 0.776 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.4962, allocations: 8 kB / 0.776 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003758/0.4966, allocations: 165.7 kB / 0.7762 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.4978, allocations: 0.8622 MB / 0.777 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.4981, allocations: 150.6 kB / 0.7771 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.4983, allocations: 112.8 kB / 0.7772 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.4983, allocations: 4 kB / 0.7772 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.4984, allocations: 30.56 kB / 0.7773 GB, free: 9.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.4984, allocations: 0 / 0.7773 GB, free: 9.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005998/0.499, allocations: 261.2 kB / 0.7775 GB, free: 9.012 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.499, allocations: 59.41 kB / 0.7776 GB, free: 8.941 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.4995, allocations: 417.7 kB / 0.778 GB, free: 8.523 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.4995, allocations: 25.7 kB / 0.778 GB, free: 8.492 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.4997, allocations: 212.2 kB / 0.7782 GB, free: 8.281 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.4997, allocations: 55.11 kB / 0.7783 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.4998, allocations: 29.72 kB / 0.7783 GB, free: 8.191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4999, allocations: 346.8 kB / 0.7786 GB, free: 7.844 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.5001, allocations: 67.95 kB / 0.7787 GB, free: 7.777 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.5002, allocations: 55.92 kB / 0.7787 GB, free: 7.723 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.5005, allocations: 134.8 kB / 0.7789 GB, free: 7.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5005, allocations: 0 / 0.7789 GB, free: 7.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003748/0.5009, allocations: 213.1 kB / 0.7791 GB, free: 7.375 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5009, allocations: 18.95 kB / 0.7791 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5009, allocations: 0 / 0.7791 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.501, allocations: 3.938 kB / 0.7791 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.5012, allocations: 51.91 kB / 0.7791 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.5012, allocations: 4 kB / 0.7791 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.5014, allocations: 19.83 kB / 0.7792 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.5014, allocations: 4 kB / 0.7792 GB, free: 7.277 MB / 0.545 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.000159/0.5015, allocations: 157.8 kB / 0.7793 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.5016, allocations: 39.53 kB / 0.7794 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.5017, allocations: 47.52 kB / 0.7794 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5017, allocations: 4 kB / 0.7794 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5017, allocations: 0 / 0.7794 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5017, allocations: 0 / 0.7794 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.5021, allocations: 373.3 kB / 0.7798 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5021, allocations: 0 / 0.7798 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.5024, allocations: 67.83 kB / 0.7798 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5024, allocations: 0 / 0.7798 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.5024, allocations: 3.938 kB / 0.7798 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5024, allocations: 8 kB / 0.7798 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5024, allocations: 0 / 0.7798 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.5031, allocations: 377 kB / 0.7802 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.912e-05/0.5032, allocations: 116.7 kB / 0.7803 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.5032, allocations: 7.938 kB / 0.7803 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.5034, allocations: 12.06 kB / 0.7803 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.5034, allocations: 11.92 kB / 0.7803 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.5035, allocations: 8 kB / 0.7803 GB, free: 5.977 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000308/0.5038, allocations: 303.1 kB / 0.7806 GB, free: 5.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5038, allocations: 0 / 0.7806 GB, free: 5.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002845/0.5041, allocations: 67.91 kB / 0.7807 GB, free: 5.613 MB / 0.545 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.0001417/0.5042, allocations: 107.2 kB / 0.7808 GB, free: 5.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003701/0.5046, allocations: 155.8 kB / 0.781 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5046, allocations: 0 / 0.781 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.5048, allocations: 75.91 kB / 0.781 GB, free: 5.273 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.5053, allocations: 99 kB / 0.7811 GB, free: 5.184 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.5066, allocations: 0.778 MB / 0.7819 GB, free: 4.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.507, allocations: 0.8067 MB / 0.7827 GB, free: 3.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.507, allocations: 27.44 kB / 0.7827 GB, free: 3.516 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.507, allocations: 0 / 0.7827 GB, free: 3.516 MB / 0.545 GB Notification: Performance of Templates: time 0.006418/0.5135, allocations: 4.39 MB / 0.787 GB, free: 15.17 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)