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.00108/0.00108, allocations: 112.4 kB / 16.42 MB, free: 6.5 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.0009996/0.0009996, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.291/1.291, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 296.7 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.9411/0.9411, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 95.84 kB / 0.6822 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3929, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003759/0.3967, allocations: 3.011 MB / 0.77 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002346/0.3991, allocations: 2.152 MB / 0.7721 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.3993, allocations: 4 kB / 0.7721 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.4005, allocations: 0.4962 MB / 0.7726 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.4007, allocations: 154.8 kB / 0.7728 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.4008, allocations: 63.94 kB / 0.7728 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004167/0.4012, allocations: 447.9 kB / 0.7733 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.4015, allocations: 159.2 kB / 0.7734 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.4016, allocations: 163.4 kB / 0.7736 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.4019, allocations: 175.2 kB / 0.7737 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.4019, allocations: 32 kB / 0.7738 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.904e-05/0.402, allocations: 39.94 kB / 0.7738 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.4021, allocations: 95.67 kB / 0.7739 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.4023, allocations: 214.9 kB / 0.7741 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.4027, allocations: 0.5489 MB / 0.7746 GB, free: 12.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4027, allocations: 0 / 0.7746 GB, free: 12.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4027, allocations: 0 / 0.7746 GB, free: 12.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.4027, allocations: 4 kB / 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.0009281/0.4037, allocations: 0.7045 MB / 0.7753 GB, free: 11.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4037, allocations: 12.03 kB / 0.7753 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.394e-05/0.4038, allocations: 44.38 kB / 0.7754 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.4043, allocations: 382 kB / 0.7758 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.4043, allocations: 12.81 kB / 0.7758 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.4044, allocations: 20.38 kB / 0.7758 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.4048, allocations: 207.6 kB / 0.776 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.4048, allocations: 3.938 kB / 0.776 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.4048, allocations: 12 kB / 0.776 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4048, allocations: 4 kB / 0.776 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.4052, allocations: 165.7 kB / 0.7762 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.4063, allocations: 0.8584 MB / 0.777 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.4066, allocations: 158.5 kB / 0.7771 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.4068, allocations: 108.8 kB / 0.7773 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.4068, allocations: 0 / 0.7773 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.4068, allocations: 34.56 kB / 0.7773 GB, free: 9.285 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.4068, allocations: 4 kB / 0.7773 GB, free: 9.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005653/0.4074, allocations: 261.2 kB / 0.7775 GB, free: 9.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.4074, allocations: 51.41 kB / 0.7776 GB, free: 8.957 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/0.4079, allocations: 421.7 kB / 0.778 GB, free: 8.535 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.4079, allocations: 25.7 kB / 0.778 GB, free: 8.504 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.408, allocations: 204.2 kB / 0.7782 GB, free: 8.301 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.4081, allocations: 67.09 kB / 0.7783 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.4081, allocations: 29.72 kB / 0.7783 GB, free: 8.199 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4083, allocations: 346.8 kB / 0.7786 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.4084, allocations: 55.97 kB / 0.7787 GB, free: 7.797 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.4086, allocations: 59.92 kB / 0.7787 GB, free: 7.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.4089, allocations: 130.9 kB / 0.7789 GB, free: 7.609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4089, allocations: 7.938 kB / 0.7789 GB, free: 7.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003888/0.4093, allocations: 218.9 kB / 0.7791 GB, free: 7.383 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.4093, allocations: 4 kB / 0.7791 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4093, allocations: 4 kB / 0.7791 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4093, allocations: 3.938 kB / 0.7791 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.4096, allocations: 51.95 kB / 0.7791 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4096, allocations: 0 / 0.7791 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.4097, allocations: 23.84 kB / 0.7792 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4097, allocations: 4 kB / 0.7792 GB, free: 7.293 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.0001494/0.4099, allocations: 168.2 kB / 0.7793 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.4099, allocations: 35.53 kB / 0.7794 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.01e-05/0.41, allocations: 39.59 kB / 0.7794 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.41, allocations: 7.922 kB / 0.7794 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.41, allocations: 0 / 0.7794 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.91e-05/0.4101, allocations: 124.6 kB / 0.7795 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.4102, allocations: 0 / 0.7795 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.4104, allocations: 16 kB / 0.7795 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.4104, allocations: 11.98 kB / 0.7796 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005977/0.411, allocations: 295.6 kB / 0.7798 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006164/0.4117, allocations: 466 kB / 0.7803 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001533/0.4118, allocations: 74.8 kB / 0.7804 GB, free: 6.035 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003037/0.4121, allocations: 303.2 kB / 0.7806 GB, free: 5.738 MB / 0.545 GB Notification: Performance of Backend: time 3.11e-07/0.4121, allocations: 0 / 0.7806 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.4127, allocations: 174 kB / 0.7808 GB, free: 5.566 MB / 0.545 GB Notification: Performance of SimCode: time 0.001433/0.4141, allocations: 1.242 MB / 0.782 GB, free: 4.277 MB / 0.545 GB Notification: Performance of Templates: time 0.008343/0.4225, allocations: 4.341 MB / 0.7863 GB, free: 60 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)