Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.006986/0.006986, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001829/0.001829, allocations: 197.4 kB / 16.67 MB, free: 5.973 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.715/2.715, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 64.11 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2818, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00231/0.2842, allocations: 1.462 MB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004061/0.2883, allocations: 2.883 MB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.2883, allocations: 4 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.2884, allocations: 7.938 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.631e-05/0.2884, allocations: 15.84 kB / 1.225 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003662/0.2921, allocations: 1.598 MB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.632e-05/0.2922, allocations: 39.75 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.2922, allocations: 3.984 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.443e-05/0.2922, allocations: 11.94 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.552e-05/0.2923, allocations: 15.88 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.2923, allocations: 8 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.2944, allocations: 1.54 MB / 1.228 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.2945, allocations: 0 / 1.228 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.2945, allocations: 19.88 kB / 1.228 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.2959, allocations: 1.118 MB / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2959, allocations: 0 / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2959, allocations: 0 / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.2959, allocations: 0 / 1.229 GB, free: 5.508 MB / 0.9825 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.0005731/0.2965, allocations: 0.5324 MB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2965, allocations: 12.03 kB / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.2966, allocations: 110 kB / 1.229 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.2967, allocations: 84.16 kB / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.2968, allocations: 247.6 kB / 1.23 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/0.2969, allocations: 150.9 kB / 1.23 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.297, allocations: 154.9 kB / 1.23 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.701e-05/0.297, allocations: 108.9 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.2971, allocations: 79.28 kB / 1.23 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/0.2971, allocations: 150.6 kB / 1.23 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.546e-05/0.2972, allocations: 150.6 kB / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.977e-05/0.2973, allocations: 154.5 kB / 1.231 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.2976, allocations: 477.8 kB / 1.231 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.958e-05/0.2977, allocations: 173.1 kB / 1.231 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.2977, allocations: 84.12 kB / 1.231 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.2978, allocations: 79.22 kB / 1.231 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.2978, allocations: 109.8 kB / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.2978, allocations: 0 / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.15e-05/0.2979, allocations: 33.64 kB / 1.232 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.298, allocations: 126.7 kB / 1.232 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.2981, allocations: 135.8 kB / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.2981, allocations: 25.7 kB / 1.232 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.2982, allocations: 96.12 kB / 1.232 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.2982, allocations: 0 / 1.232 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.2982, allocations: 17.72 kB / 1.232 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.2984, allocations: 322.8 kB / 1.232 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.2984, allocations: 4 kB / 1.232 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.2984, allocations: 8 kB / 1.232 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.2984, allocations: 8.859 kB / 1.232 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2985, allocations: 0 / 1.232 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001164/0.2986, allocations: 57.53 kB / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2986, allocations: 7.938 kB / 1.232 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.2986, allocations: 7.984 kB / 1.232 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2986, allocations: 4.125 kB / 1.232 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.395e-06/0.2986, allocations: 4 kB / 1.232 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2986, allocations: 0 / 1.232 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.131e-05/0.2987, allocations: 4 kB / 1.232 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.2987, allocations: 4 kB / 1.232 GB, free: 1.605 MB / 0.9825 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 9.89e-05/0.2988, allocations: 183.2 kB / 1.233 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.2989, allocations: 116.8 kB / 1.233 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.2989, allocations: 112.8 kB / 1.233 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.879e-05/0.299, allocations: 180.3 kB / 1.233 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-05/0.2991, allocations: 184.2 kB / 1.233 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/0.2991, allocations: 180.2 kB / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.2994, allocations: 421.1 kB / 1.234 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.361e-05/0.2995, allocations: 101 kB / 1.234 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.221e-05/0.2995, allocations: 109 kB / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.038e-05/0.2996, allocations: 184.2 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/0.2997, allocations: 176.3 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.056e-05/0.2997, allocations: 184.2 kB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.5e-05/0.2998, allocations: 180.2 kB / 1.235 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.3, allocations: 319.7 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.982e-05/0.3, allocations: 178.1 kB / 1.235 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.3001, allocations: 188.2 kB / 1.235 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.3002, allocations: 104.9 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.3003, allocations: 180.3 kB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.3003, allocations: 108.9 kB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.218e-05/0.3004, allocations: 101.5 kB / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3004, allocations: 0 / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007146/0.3011, allocations: 287 kB / 1.236 GB, free: 13.69 MB / 0.9981 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.001333/0.3025, allocations: 1.183 MB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.3026, allocations: 45.64 kB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3026, allocations: 0 / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.664e-06/0.3026, allocations: 0 / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.3031, allocations: 471.7 kB / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.3046, allocations: 1.611 MB / 1.239 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.3049, allocations: 0.6846 MB / 1.24 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.273e-05/0.3049, allocations: 4 kB / 1.24 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.3049, allocations: 15.47 kB / 1.24 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.3049, allocations: 0 / 1.24 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.673/1.978, allocations: 7.087 MB / 1.247 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.962/10.94, allocations: 8.594 kB / 1.247 GB, free: 2.664 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)