Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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.001527/0.001527, allocations: 108 kB / 15.61 MB, free: 148 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.001504/0.001504, allocations: 197.9 kB / 16.53 MB, free: 6.656 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.669/2.669, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 68.28 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2829, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003866/0.2868, allocations: 2.252 MB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003495/0.2904, allocations: 2.398 MB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.2905, allocations: 0 / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.292, allocations: 497.9 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.2922, allocations: 87.38 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.2926, allocations: 100.8 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.2939, allocations: 0.846 MB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.2941, allocations: 36.28 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000589/0.2947, allocations: 279.5 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006185/0.2953, allocations: 331.2 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.2954, allocations: 56 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.2955, allocations: 59.94 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.2958, allocations: 223.5 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004991/0.2963, allocations: 282.9 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006903/0.297, allocations: 0.7283 MB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.297, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.297, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.2971, allocations: 0 / 1.072 GB, free: 6.031 MB / 0.8262 GB 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.002517/0.2996, allocations: 0.9291 MB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.2996, allocations: 12.03 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.2997, allocations: 54.73 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.2998, allocations: 40.47 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.3013, allocations: 0.5108 MB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.3014, allocations: 28.38 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.37e-05/0.3014, allocations: 40.28 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.3018, allocations: 206 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3018, allocations: 3.938 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.3018, allocations: 15.88 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3019, allocations: 4 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.3022, allocations: 175.9 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004544/0.3068, allocations: 1.428 MB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.3086, allocations: 0.588 MB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.3088, allocations: 144.8 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.3088, allocations: 0 / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3088, allocations: 34.56 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=24): time 1.072e-06/0.3089, allocations: 4 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24): time 0.00104/0.3099, allocations: 0.5446 MB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3099, allocations: 55.41 kB / 1.077 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.3104, allocations: 405.3 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/0.3104, allocations: 37.7 kB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.3106, allocations: 161.2 kB / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.3107, allocations: 102.5 kB / 1.077 GB, free: 296 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.3109, allocations: 150.3 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3111, allocations: 350.8 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006793/0.3118, allocations: 337.1 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/0.3125, allocations: 397.5 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008693/0.3133, allocations: 0.58 MB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3133, allocations: 0 / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001614/0.315, allocations: 0.9131 MB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.315, allocations: 33.7 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.315, allocations: 3.984 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.3152, allocations: 28.84 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007869/0.316, allocations: 151.8 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.3173, allocations: 1.43 MB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.3189, allocations: 115.2 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.319, allocations: 23.98 kB / 1.082 GB, free: 11.61 MB / 0.8419 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.3192, allocations: 181.7 kB / 1.082 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.3193, allocations: 27.62 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.57e-05/0.3193, allocations: 39.47 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3193, allocations: 7.938 kB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3194, allocations: 8 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3194, allocations: 3.984 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.3199, allocations: 457 kB / 1.082 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3199, allocations: 3.938 kB / 1.082 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.3201, allocations: 47.91 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.527e-05/0.3202, allocations: 24.84 kB / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.599e-05/0.3203, allocations: 15.98 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.3215, allocations: 1.422 MB / 1.084 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3215, allocations: 0 / 1.084 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008409/0.3223, allocations: 0.5976 MB / 1.085 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3224, allocations: 116.6 kB / 1.085 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.3225, allocations: 8 kB / 1.085 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000692/0.3232, allocations: 32.11 kB / 1.085 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/0.3233, allocations: 19.92 kB / 1.085 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.3234, allocations: 7.984 kB / 1.085 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003539/0.3237, allocations: 259.2 kB / 1.085 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3237, allocations: 0 / 1.085 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006255/0.3244, allocations: 239.8 kB / 1.085 GB, free: 7.875 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/0.3255, allocations: 1.145 MB / 1.086 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.3268, allocations: 0.7788 MB / 1.087 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3269, allocations: 4 kB / 1.087 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.3272, allocations: 266.5 kB / 1.087 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.3278, allocations: 100.6 kB / 1.087 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007525/0.3353, allocations: 5.504 MB / 1.093 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.336, allocations: 0.808 MB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000295/0.3363, allocations: 119.1 kB / 1.094 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.3366, allocations: 127.4 kB / 1.094 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.3366, allocations: 0 / 1.094 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.384/0.7206, allocations: 12.03 MB / 1.106 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.35/18.08, allocations: 6.938 kB / 1.106 GB, free: 3.098 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)