Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 114.5 kB / 16.42 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.001404/0.001404, allocations: 187.8 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002173/0.002173, allocations: 296.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9714/0.9714, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00311/0.00311, allocations: 91.86 kB / 0.6822 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4417, allocations: 86.98 MB / 0.7671 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00552/0.4472, allocations: 4.14 MB / 0.7711 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003471/0.4507, allocations: 2.406 MB / 0.7735 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004133/0.4512, allocations: 11.94 kB / 0.7735 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.4528, allocations: 0.5351 MB / 0.774 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006367/0.4535, allocations: 254 kB / 0.7743 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.4538, allocations: 139.8 kB / 0.7744 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009072/0.4547, allocations: 0.8117 MB / 0.7752 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.4552, allocations: 338.5 kB / 0.7755 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000433/0.4556, allocations: 291 kB / 0.7758 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004296/0.4561, allocations: 334.6 kB / 0.7761 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.4562, allocations: 72 kB / 0.7762 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.4563, allocations: 76 kB / 0.7763 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.4565, allocations: 175.3 kB / 0.7764 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003732/0.4569, allocations: 378.3 kB / 0.7768 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008398/0.4577, allocations: 0.9966 MB / 0.7778 GB, free: 9.133 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4577, allocations: 4 kB / 0.7778 GB, free: 9.129 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4577, allocations: 4 kB / 0.7778 GB, free: 9.125 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.214e-05/0.4578, allocations: 4 kB / 0.7778 GB, free: 9.121 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001531/0.4593, allocations: 0.9462 MB / 0.7787 GB, free: 8.121 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.4594, allocations: 8.031 kB / 0.7787 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.4595, allocations: 76 kB / 0.7788 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006335/0.4601, allocations: 461.7 kB / 0.7792 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.4602, allocations: 41.38 kB / 0.7793 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.71e-05/0.4603, allocations: 40.38 kB / 0.7793 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007929/0.4611, allocations: 434.8 kB / 0.7797 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.4611, allocations: 3.984 kB / 0.7797 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.4611, allocations: 20 kB / 0.7797 GB, free: 7.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.4612, allocations: 12 kB / 0.7797 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00071/0.4619, allocations: 363.8 kB / 0.7801 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.464, allocations: 1.524 MB / 0.7816 GB, free: 5.055 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.4645, allocations: 335 kB / 0.7819 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/0.465, allocations: 325.8 kB / 0.7822 GB, free: 4.395 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.465, allocations: 4 kB / 0.7822 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.465, allocations: 46.48 kB / 0.7823 GB, free: 4.336 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.924e-06/0.4651, allocations: 0 / 0.7823 GB, free: 4.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.0009585/0.466, allocations: 0.4898 MB / 0.7827 GB, free: 3.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.4661, allocations: 55.41 kB / 0.7828 GB, free: 3.773 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005681/0.4666, allocations: 489.9 kB / 0.7833 GB, free: 3.289 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.4667, allocations: 33.7 kB / 0.7833 GB, free: 3.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.4669, allocations: 276.4 kB / 0.7835 GB, free: 2.977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.467, allocations: 141.8 kB / 0.7837 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.4671, allocations: 62.08 kB / 0.7837 GB, free: 2.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4672, allocations: 362.8 kB / 0.7841 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.4675, allocations: 120.7 kB / 0.7842 GB, free: 2.285 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.4677, allocations: 130.2 kB / 0.7843 GB, free: 2.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.4683, allocations: 305.9 kB / 0.7846 GB, free: 1.859 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4683, allocations: 0 / 0.7846 GB, free: 1.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006537/0.469, allocations: 392.2 kB / 0.785 GB, free: 1.469 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.469, allocations: 7.938 kB / 0.785 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.469, allocations: 0 / 0.785 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.469, allocations: 4 kB / 0.785 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.4695, allocations: 131.8 kB / 0.7851 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.4695, allocations: 0 / 0.7851 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.4698, allocations: 35.67 kB / 0.7852 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.4698, allocations: 11.94 kB / 0.7852 GB, free: 1.281 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 (46): * Single equations (assignments): 46 * 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.000227/0.47, allocations: 200.2 kB / 0.7854 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/0.4701, allocations: 55.28 kB / 0.7854 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.4703, allocations: 65.11 kB / 0.7855 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.4703, allocations: 7.922 kB / 0.7855 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4703, allocations: 0 / 0.7855 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.4704, allocations: 136.4 kB / 0.7856 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.4705, allocations: 4 kB / 0.7856 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.4707, allocations: 11.98 kB / 0.7856 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.4708, allocations: 23.97 kB / 0.7857 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001142/0.472, allocations: 0.5213 MB / 0.7862 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001042/0.473, allocations: 0.7242 MB / 0.7869 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002721/0.4733, allocations: 171.7 kB / 0.787 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003679/0.4737, allocations: 351.1 kB / 0.7874 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of Backend: time 4.71e-07/0.4737, allocations: 0 / 0.7874 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007219/0.4744, allocations: 280.6 kB / 0.7876 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002043/0.4765, allocations: 1.622 MB / 0.7892 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.01231/0.4888, allocations: 6.921 MB / 0.796 GB, free: 6.258 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)