Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001074/0.001074, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003519/0.003519, allocations: 278.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9258/0.9258, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 95.84 kB / 0.6822 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3977, allocations: 86.97 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00219/0.3999, allocations: 1.436 MB / 0.7685 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003885/0.4038, allocations: 2.897 MB / 0.7714 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.4038, allocations: 4 kB / 0.7714 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.4039, allocations: 7.922 kB / 0.7714 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/0.4039, allocations: 15.86 kB / 0.7714 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003351/0.4073, allocations: 1.575 MB / 0.7729 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.475e-05/0.4074, allocations: 47.67 kB / 0.773 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.132e-05/0.4074, allocations: 0 / 0.773 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.4075, allocations: 15.92 kB / 0.773 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.633e-05/0.4075, allocations: 19.92 kB / 0.773 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.4075, allocations: 8 kB / 0.773 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.4095, allocations: 1.529 MB / 0.7745 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.4095, allocations: 7.922 kB / 0.7745 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.4096, allocations: 19.88 kB / 0.7745 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.4108, allocations: 1.094 MB / 0.7756 GB, free: 11.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4108, allocations: 0 / 0.7756 GB, free: 11.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4108, allocations: 0 / 0.7756 GB, free: 11.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.4109, allocations: 0 / 0.7756 GB, free: 11.21 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005422/0.4114, allocations: 0.5263 MB / 0.7761 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.4114, allocations: 8.031 kB / 0.7761 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.4115, allocations: 80.22 kB / 0.7762 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.4116, allocations: 259.3 kB / 0.7764 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.028e-05/0.4117, allocations: 150.9 kB / 0.7766 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.4117, allocations: 150.9 kB / 0.7767 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.95e-05/0.4118, allocations: 109.1 kB / 0.7768 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.4118, allocations: 79.22 kB / 0.7769 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.4119, allocations: 150.6 kB / 0.7771 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-05/0.4119, allocations: 154.6 kB / 0.7772 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.361e-05/0.412, allocations: 162.5 kB / 0.7774 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.4123, allocations: 469.9 kB / 0.7778 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.338e-05/0.4123, allocations: 165.1 kB / 0.778 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.4124, allocations: 84.14 kB / 0.778 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.4124, allocations: 75.28 kB / 0.7781 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.4125, allocations: 109.8 kB / 0.7782 GB, free: 8.355 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4125, allocations: 4 kB / 0.7782 GB, free: 8.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.755e-05/0.4125, allocations: 33.64 kB / 0.7783 GB, free: 8.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.4126, allocations: 51.41 kB / 0.7783 GB, free: 8.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.4127, allocations: 140.9 kB / 0.7784 GB, free: 8.105 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.4127, allocations: 25.7 kB / 0.7785 GB, free: 8.074 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.4128, allocations: 96.14 kB / 0.7786 GB, free: 7.977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-06/0.4128, allocations: 0 / 0.7786 GB, free: 7.977 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.4128, allocations: 17.72 kB / 0.7786 GB, free: 7.953 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.4129, allocations: 322.8 kB / 0.7789 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.413, allocations: 4 kB / 0.7789 GB, free: 7.625 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.413, allocations: 8 kB / 0.7789 GB, free: 7.617 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.31e-05/0.413, allocations: 8.859 kB / 0.7789 GB, free: 7.605 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.413, allocations: 0 / 0.7789 GB, free: 7.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001151/0.4131, allocations: 61.47 kB / 0.779 GB, free: 7.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.4132, allocations: 4 kB / 0.779 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.4132, allocations: 8 kB / 0.779 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.4132, allocations: 0 / 0.779 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.4132, allocations: 0 / 0.779 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4132, allocations: 4.062 kB / 0.779 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.4132, allocations: 7.938 kB / 0.779 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.4132, allocations: 0 / 0.779 GB, free: 7.516 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.425e-05/0.4133, allocations: 181.1 kB / 0.7792 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.4134, allocations: 112.8 kB / 0.7793 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.4135, allocations: 116.8 kB / 0.7794 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.779e-05/0.4135, allocations: 188.3 kB / 0.7796 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-05/0.4136, allocations: 104.9 kB / 0.7797 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.4136, allocations: 186 kB / 0.7798 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/0.4137, allocations: 180.2 kB / 0.78 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.611e-05/0.4138, allocations: 104.9 kB / 0.7801 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.4138, allocations: 180.3 kB / 0.7803 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.104e-05/0.4139, allocations: 267.4 kB / 0.7805 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001401/0.4141, allocations: 387 kB / 0.7809 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.558e-05/0.4141, allocations: 101 kB / 0.781 GB, free: 5.328 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.851e-05/0.4142, allocations: 107.2 kB / 0.7811 GB, free: 5.223 MB / 0.545 GB Notification: Performance of Backend: time 1.91e-07/0.4142, allocations: 0 / 0.7811 GB, free: 5.223 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.4155, allocations: 0.5077 MB / 0.7816 GB, free: 4.707 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005459/0.4161, allocations: 0.9334 MB / 0.7825 GB, free: 3.723 MB / 0.545 GB Notification: Performance of Templates: time 0.009656/0.4257, allocations: 6.375 MB / 0.7887 GB, free: 13.4 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)