Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008471/0.0008471, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009341/0.0009342, allocations: 185 kB / 16.92 MB, free: 6.934 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.325/1.325, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7148/0.7148, allocations: 123 MB / 415.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003235, allocations: 8 kB / 0.4934 GB, free: 13.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3874, allocations: 79.29 MB / 0.5708 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001649/0.3891, allocations: 1.093 MB / 0.5719 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.3918, allocations: 1.792 MB / 0.5736 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.3919, allocations: 0.625 kB / 0.5736 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.578e-05/0.392, allocations: 9.188 kB / 0.5736 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.3922, allocations: 40.53 kB / 0.5737 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.3946, allocations: 1.034 MB / 0.5747 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.3948, allocations: 82.33 kB / 0.5748 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.3948, allocations: 7.609 kB / 0.5748 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.206e-05/0.3949, allocations: 28.42 kB / 0.5748 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.104e-05/0.395, allocations: 39.84 kB / 0.5748 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.395, allocations: 1.156 kB / 0.5748 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.3962, allocations: 0.8429 MB / 0.5757 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.965e-05/0.3963, allocations: 72.39 kB / 0.5757 GB, free: 8.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.3964, allocations: 94.73 kB / 0.5758 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.3975, allocations: 0.8775 MB / 0.5767 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3975, allocations: 5.062 kB / 0.5767 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3975, allocations: 0 / 0.5767 GB, free: 7.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.3976, allocations: 0 / 0.5767 GB, free: 7.691 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005325/0.3981, allocations: 0.5676 MB / 0.5772 GB, free: 7.176 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3981, allocations: 9.281 kB / 0.5772 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.3982, allocations: 21.62 kB / 0.5773 GB, free: 7.164 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3983, allocations: 225.1 kB / 0.5775 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-06/0.3983, allocations: 1.188 kB / 0.5775 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.3984, allocations: 1.062 kB / 0.5775 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.3985, allocations: 111.7 kB / 0.5776 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3985, allocations: 0 / 0.5776 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.3985, allocations: 0 / 0.5776 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.3985, allocations: 2.094 kB / 0.5776 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.08e-05/0.3986, allocations: 77.95 kB / 0.5777 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.3988, allocations: 277.6 kB / 0.5779 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.399, allocations: 122.7 kB / 0.578 GB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.121e-05/0.3991, allocations: 108.4 kB / 0.5781 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.3991, allocations: 10.3 kB / 0.5782 GB, free: 6.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.3991, allocations: 31.97 kB / 0.5782 GB, free: 6.461 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 1.042e-06/0.3991, allocations: 0 / 0.5782 GB, free: 6.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003866/0.3995, allocations: 340.6 kB / 0.5785 GB, free: 6.359 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.773e-05/0.3995, allocations: 56.81 kB / 0.5786 GB, free: 6.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.3998, allocations: 256.1 kB / 0.5788 GB, free: 6.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.3998, allocations: 27.27 kB / 0.5788 GB, free: 6.129 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.3998, allocations: 130.7 kB / 0.579 GB, free: 6.012 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.3999, allocations: 101.8 kB / 0.5791 GB, free: 5.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.3999, allocations: 24.61 kB / 0.5791 GB, free: 5.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.4, allocations: 342.3 kB / 0.5794 GB, free: 5.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.4001, allocations: 74.25 kB / 0.5795 GB, free: 5.574 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.4002, allocations: 74.78 kB / 0.5795 GB, free: 5.559 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.4004, allocations: 194.1 kB / 0.5797 GB, free: 5.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4004, allocations: 0 / 0.5797 GB, free: 5.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002461/0.4007, allocations: 232.6 kB / 0.58 GB, free: 5.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4007, allocations: 10.41 kB / 0.58 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.4007, allocations: 4.656 kB / 0.58 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.4007, allocations: 0.9062 kB / 0.58 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.4007, allocations: 0 / 0.58 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4007, allocations: 1.875 kB / 0.58 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.4008, allocations: 9.844 kB / 0.58 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.4008, allocations: 1.406 kB / 0.58 GB, free: 5.414 MB / 430.1 MB 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 0.0001153/0.4009, allocations: 162.2 kB / 0.5801 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.4009, allocations: 29.48 kB / 0.5802 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.4013, allocations: 256.3 kB / 0.5804 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4013, allocations: 5.219 kB / 0.5804 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4013, allocations: 0 / 0.5804 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.4013, allocations: 0.625 kB / 0.5804 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.4015, allocations: 282.9 kB / 0.5807 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4015, allocations: 6.094 kB / 0.5807 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.4015, allocations: 0 / 0.5807 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4015, allocations: 0 / 0.5807 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.4015, allocations: 8.844 kB / 0.5807 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4015, allocations: 5.203 kB / 0.5807 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4015, allocations: 0.75 kB / 0.5807 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.4018, allocations: 260.4 kB / 0.581 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.4018, allocations: 104.7 kB / 0.5811 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.4019, allocations: 0.625 kB / 0.5811 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.819e-05/0.4019, allocations: 1.703 kB / 0.5811 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.065e-05/0.4019, allocations: 0.7188 kB / 0.5811 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.4019, allocations: 5.438 kB / 0.5811 GB, free: 4.695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.4021, allocations: 188.7 kB / 0.5812 GB, free: 4.598 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4021, allocations: 0.7812 kB / 0.5812 GB, free: 4.598 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006742/0.4028, allocations: 218.8 kB / 0.5814 GB, free: 4.555 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000682/0.4035, allocations: 323.3 kB / 0.5818 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.4038, allocations: 266.9 kB / 0.582 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.4038, allocations: 0.7188 kB / 0.582 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.4039, allocations: 187.1 kB / 0.5822 GB, free: 4.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.4042, allocations: 23.08 kB / 0.5822 GB, free: 4.219 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.4049, allocations: 0.567 MB / 0.5828 GB, free: 3.914 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.4051, allocations: 0.7679 MB / 0.5835 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.303e-05/0.4051, allocations: 6.844 kB / 0.5835 GB, free: 3.207 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.094e-05/0.4051, allocations: 8.406 kB / 0.5835 GB, free: 3.199 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4051, allocations: 0 / 0.5835 GB, free: 3.199 MB / 430.1 MB Notification: Performance of Templates: time 0.00912/0.4143, allocations: 4.544 MB / 0.588 GB, free: 2.836 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)