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.001581/0.001581, allocations: 113.8 kB / 16.42 MB, free: 6.473 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.001659/0.00166, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 300.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9187/0.9187, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 100.1 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4624, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003952/0.4664, allocations: 3.02 MB / 0.7701 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002731/0.4691, allocations: 2.144 MB / 0.7721 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.4694, allocations: 8 kB / 0.7722 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.4708, allocations: 0.4963 MB / 0.7726 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.4711, allocations: 146.8 kB / 0.7728 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.4712, allocations: 63.92 kB / 0.7728 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004943/0.4717, allocations: 441.9 kB / 0.7733 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.472, allocations: 159.2 kB / 0.7734 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.4722, allocations: 163.3 kB / 0.7736 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.4725, allocations: 175.1 kB / 0.7737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.4725, allocations: 36 kB / 0.7738 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.969e-05/0.4726, allocations: 36 kB / 0.7738 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.4727, allocations: 99.59 kB / 0.7739 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.4729, allocations: 222.9 kB / 0.7741 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.4734, allocations: 0.5372 MB / 0.7746 GB, free: 12.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.4734, allocations: 0 / 0.7746 GB, free: 12.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4734, allocations: 0 / 0.7746 GB, free: 12.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.4734, allocations: 4 kB / 0.7746 GB, free: 12.16 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.0009356/0.4744, allocations: 0.7084 MB / 0.7753 GB, free: 11.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.4744, allocations: 8.031 kB / 0.7753 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.4745, allocations: 48.38 kB / 0.7754 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.475, allocations: 386 kB / 0.7758 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.475, allocations: 16.75 kB / 0.7758 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.475, allocations: 20.38 kB / 0.7758 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.4754, allocations: 203.6 kB / 0.776 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.4755, allocations: 0 / 0.776 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.4755, allocations: 7.984 kB / 0.776 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.4755, allocations: 8 kB / 0.776 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.4759, allocations: 169.6 kB / 0.7762 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.477, allocations: 0.8583 MB / 0.777 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.4773, allocations: 154.6 kB / 0.7771 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.4775, allocations: 104.8 kB / 0.7772 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.4776, allocations: 4 kB / 0.7772 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.4776, allocations: 34.55 kB / 0.7773 GB, free: 9.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.4776, allocations: 0 / 0.7773 GB, free: 9.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005778/0.4782, allocations: 265.2 kB / 0.7775 GB, free: 9.008 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.4782, allocations: 55.41 kB / 0.7776 GB, free: 8.941 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.4787, allocations: 413.7 kB / 0.778 GB, free: 8.527 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.4787, allocations: 29.7 kB / 0.778 GB, free: 8.492 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.4788, allocations: 208.2 kB / 0.7782 GB, free: 8.285 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/0.4789, allocations: 59.11 kB / 0.7783 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.4789, allocations: 33.7 kB / 0.7783 GB, free: 8.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.4791, allocations: 350.8 kB / 0.7786 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.4792, allocations: 55.97 kB / 0.7787 GB, free: 7.781 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.4794, allocations: 59.92 kB / 0.7787 GB, free: 7.723 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.4797, allocations: 138.8 kB / 0.7789 GB, free: 7.586 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4797, allocations: 0 / 0.7789 GB, free: 7.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003861/0.4801, allocations: 215.2 kB / 0.7791 GB, free: 7.371 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.4801, allocations: 11.06 kB / 0.7791 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4801, allocations: 0 / 0.7791 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.4801, allocations: 3.938 kB / 0.7791 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.4804, allocations: 51.97 kB / 0.7791 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4804, allocations: 3.938 kB / 0.7791 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.4806, allocations: 23.83 kB / 0.7792 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.4806, allocations: 3.938 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.0001548/0.4807, allocations: 172.2 kB / 0.7793 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.4808, allocations: 35.53 kB / 0.7794 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.006e-05/0.4809, allocations: 39.59 kB / 0.7794 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4809, allocations: 3.938 kB / 0.7794 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4809, allocations: 0 / 0.7794 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.521e-05/0.481, allocations: 124.6 kB / 0.7795 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.481, allocations: 0 / 0.7795 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.4812, allocations: 11.98 kB / 0.7795 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.4813, allocations: 7.984 kB / 0.7796 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006121/0.4819, allocations: 304.7 kB / 0.7798 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006107/0.4825, allocations: 458.1 kB / 0.7803 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00016/0.4827, allocations: 79.33 kB / 0.7804 GB, free: 6.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003175/0.483, allocations: 307.1 kB / 0.7806 GB, free: 5.719 MB / 0.545 GB Notification: Performance of Backend: time 2.61e-07/0.483, allocations: 0 / 0.7806 GB, free: 5.719 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005312/0.4835, allocations: 170 kB / 0.7808 GB, free: 5.551 MB / 0.545 GB Notification: Performance of SimCode: time 0.001392/0.485, allocations: 1.228 MB / 0.782 GB, free: 4.277 MB / 0.545 GB Notification: Performance of Templates: time 0.00811/0.4931, allocations: 4.354 MB / 0.7863 GB, free: 48 kB / 0.545 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)