Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007439/0.007439, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001825/0.001825, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 76.33 kB / 0.9505 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.227, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002267/0.2293, allocations: 1.424 MB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00389/0.2332, allocations: 2.854 MB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.2333, allocations: 0 / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.2333, allocations: 7.922 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.2334, allocations: 11.86 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.2369, allocations: 1.563 MB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.537e-05/0.237, allocations: 39.73 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.168e-05/0.237, allocations: 4 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.372e-05/0.2371, allocations: 15.94 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.765e-05/0.2371, allocations: 23.84 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.2371, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.2391, allocations: 1.478 MB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.2391, allocations: 11.98 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.2391, allocations: 19.88 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.2405, allocations: 1.069 MB / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2406, allocations: 4 kB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2406, allocations: 0 / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2406, allocations: 0 / 1.096 GB, free: 9.414 MB / 0.8575 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.0005733/0.2411, allocations: 0.5068 MB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2412, allocations: 12.02 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.2412, allocations: 106 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.2413, allocations: 84.12 kB / 1.097 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.2414, allocations: 249.6 kB / 1.097 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.2415, allocations: 162.8 kB / 1.097 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.2415, allocations: 150.9 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.668e-05/0.2416, allocations: 108.9 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.2416, allocations: 75.28 kB / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.2417, allocations: 158.5 kB / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/0.2417, allocations: 150.6 kB / 1.098 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.438e-05/0.2418, allocations: 150.6 kB / 1.098 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.242, allocations: 465.9 kB / 1.098 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.215e-05/0.2421, allocations: 173.1 kB / 1.098 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.2421, allocations: 80.14 kB / 1.098 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.2422, allocations: 79.22 kB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.2422, allocations: 113.8 kB / 1.099 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2422, allocations: 0 / 1.099 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.665e-05/0.2423, allocations: 33.55 kB / 1.099 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.2424, allocations: 134.7 kB / 1.099 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.2425, allocations: 128 kB / 1.099 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.2425, allocations: 25.7 kB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.2425, allocations: 92.05 kB / 1.099 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.2425, allocations: 0 / 1.099 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.2426, allocations: 21.7 kB / 1.099 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.2427, allocations: 314.8 kB / 1.099 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.2427, allocations: 4 kB / 1.099 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.2427, allocations: 15.98 kB / 1.099 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.2428, allocations: 8.859 kB / 1.099 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2428, allocations: 4 kB / 1.099 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001113/0.2429, allocations: 49.58 kB / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2429, allocations: 8 kB / 1.099 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.2429, allocations: 3.984 kB / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.2429, allocations: 0 / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.243, allocations: 0 / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.243, allocations: 4 kB / 1.099 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.267e-05/0.243, allocations: 7.844 kB / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.243, allocations: 4.062 kB / 1.099 GB, free: 5.555 MB / 0.8575 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.007e-05/0.2431, allocations: 185.2 kB / 1.1 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.2431, allocations: 108.9 kB / 1.1 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.2432, allocations: 120.8 kB / 1.1 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.464e-05/0.2432, allocations: 176.3 kB / 1.1 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.465e-05/0.2433, allocations: 180.2 kB / 1.1 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.016e-05/0.2434, allocations: 184.3 kB / 1.1 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.2436, allocations: 413.2 kB / 1.101 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.017e-05/0.2436, allocations: 116.8 kB / 1.101 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.2436, allocations: 105 kB / 1.101 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.848e-05/0.2437, allocations: 184.1 kB / 1.101 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.2438, allocations: 180.3 kB / 1.101 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-05/0.2438, allocations: 176.3 kB / 1.101 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.134e-05/0.2439, allocations: 184.2 kB / 1.102 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.244, allocations: 315.6 kB / 1.102 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.2441, allocations: 182 kB / 1.102 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.2441, allocations: 192.2 kB / 1.102 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.2442, allocations: 108.9 kB / 1.102 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.2443, allocations: 176.3 kB / 1.103 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.2443, allocations: 104.9 kB / 1.103 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.2444, allocations: 99.27 kB / 1.103 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2444, allocations: 0 / 1.103 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006615/0.245, allocations: 279.8 kB / 1.103 GB, free: 1.637 MB / 0.8575 GB 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001184/0.2462, allocations: 1.149 MB / 1.104 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.55e-05/0.2463, allocations: 49.62 kB / 1.104 GB, free: 416 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2463, allocations: 0 / 1.104 GB, free: 416 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.295e-06/0.2463, allocations: 0 / 1.104 GB, free: 416 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.2467, allocations: 468.3 kB / 1.105 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.248, allocations: 1.574 MB / 1.106 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.2482, allocations: 0.6885 MB / 1.107 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.255e-05/0.2482, allocations: 0 / 1.107 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.2482, allocations: 19.44 kB / 1.107 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/0.2482, allocations: 0 / 1.107 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7621/1.01, allocations: 6.866 MB / 1.114 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.5, allocations: 11.58 kB / 1.114 GB, free: 6.898 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)