Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008997/0.0008998, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005157/0.005157, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.361/2.361, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 12 kB / 0.873 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.526, allocations: 153.8 MB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.002377/0.5284, allocations: 1.952 MB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002743/0.5312, allocations: 2.334 MB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.229e-05/0.5313, allocations: 4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.5324, allocations: 438.3 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.5326, allocations: 87.47 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.5329, allocations: 83.91 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000817/0.5337, allocations: 0.8732 MB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.5338, allocations: 48.28 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.5341, allocations: 243.5 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004245/0.5345, allocations: 331.1 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.5346, allocations: 28 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.198e-05/0.5347, allocations: 32 kB / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.5349, allocations: 207.4 kB / 1.03 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.5352, allocations: 264.7 kB / 1.03 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005858/0.5358, allocations: 0.6891 MB / 1.031 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5358, allocations: 0 / 1.031 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.146e-06/0.5358, allocations: 4 kB / 1.031 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.5358, allocations: 0 / 1.031 GB, free: 8.152 MB / 0.7794 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.002083/0.5379, allocations: 0.8708 MB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.5379, allocations: 12.03 kB / 1.031 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.538, allocations: 46.73 kB / 1.031 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.5381, allocations: 44.47 kB / 1.032 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.5396, allocations: 0.534 MB / 1.032 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.5396, allocations: 32.38 kB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-05/0.5397, allocations: 40.28 kB / 1.032 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.5401, allocations: 217.4 kB / 1.032 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.5401, allocations: 0 / 1.032 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.5401, allocations: 4 kB / 1.032 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.5401, allocations: 4 kB / 1.032 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.5404, allocations: 175.8 kB / 1.032 GB, free: 6.074 MB / 0.7794 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.545, allocations: 1.475 MB / 1.034 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.5467, allocations: 0.588 MB / 1.034 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.5469, allocations: 144.8 kB / 1.035 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.547, allocations: 0 / 1.035 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.547, allocations: 34.56 kB / 1.035 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 9.82e-07/0.547, allocations: 0 / 1.035 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.001026/0.548, allocations: 0.56 MB / 1.035 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.5481, allocations: 55.41 kB / 1.035 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.5485, allocations: 401.3 kB / 1.036 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.5485, allocations: 45.7 kB / 1.036 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.5487, allocations: 161.2 kB / 1.036 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.584e-05/0.5488, allocations: 94.64 kB / 1.036 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.5489, allocations: 77.67 kB / 1.036 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.5491, allocations: 354.8 kB / 1.036 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/0.5496, allocations: 341.1 kB / 1.037 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/0.5502, allocations: 405.5 kB / 1.037 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000862/0.5511, allocations: 0.5684 MB / 1.038 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5511, allocations: 0 / 1.038 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001522/0.5526, allocations: 0.917 MB / 1.039 GB, free: 15.71 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.5527, allocations: 37.69 kB / 1.039 GB, free: 15.67 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5527, allocations: 4 kB / 1.039 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.5529, allocations: 28.84 kB / 1.039 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007948/0.5537, allocations: 151.8 kB / 1.039 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.5547, allocations: 1.319 MB / 1.04 GB, free: 14.03 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.5564, allocations: 119.3 kB / 1.04 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.5565, allocations: 27.92 kB / 1.04 GB, free: 13.89 MB / 0.795 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.0002163/0.5567, allocations: 180 kB / 1.04 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.5568, allocations: 35.47 kB / 1.04 GB, free: 13.67 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.238e-05/0.5569, allocations: 43.47 kB / 1.04 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.5569, allocations: 8.047 kB / 1.04 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.5569, allocations: 3.984 kB / 1.04 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5569, allocations: 3.984 kB / 1.04 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.5574, allocations: 461 kB / 1.041 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.5574, allocations: 0 / 1.041 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.5577, allocations: 51.91 kB / 1.041 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.435e-05/0.5578, allocations: 24.84 kB / 1.041 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.5578, allocations: 11.98 kB / 1.041 GB, free: 13.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009391/0.5588, allocations: 1.323 MB / 1.042 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5588, allocations: 4.062 kB / 1.042 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008166/0.5596, allocations: 0.6091 MB / 1.043 GB, free: 10.93 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.5597, allocations: 116.7 kB / 1.043 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.5598, allocations: 15.92 kB / 1.043 GB, free: 10.78 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007203/0.5605, allocations: 35.89 kB / 1.043 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.5606, allocations: 11.98 kB / 1.043 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.5606, allocations: 8 kB / 1.043 GB, free: 10.72 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002422/0.5608, allocations: 259.1 kB / 1.043 GB, free: 10.47 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5608, allocations: 0 / 1.043 GB, free: 10.47 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006162/0.5615, allocations: 236 kB / 1.043 GB, free: 10.24 MB / 0.795 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.001093/0.5626, allocations: 1.156 MB / 1.045 GB, free: 9.051 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.5637, allocations: 0.7418 MB / 1.045 GB, free: 8.281 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5637, allocations: 0 / 1.045 GB, free: 8.281 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.564, allocations: 270.5 kB / 1.046 GB, free: 8.004 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/0.5646, allocations: 85.44 kB / 1.046 GB, free: 7.922 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007546/0.5722, allocations: 5.764 MB / 1.051 GB, free: 2.07 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.5726, allocations: 0.8078 MB / 1.052 GB, free: 1.238 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003026/0.5729, allocations: 115.2 kB / 1.052 GB, free: 1.121 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.5732, allocations: 123.4 kB / 1.052 GB, free: 1 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.5732, allocations: 7.938 kB / 1.052 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.5978, allocations: 11.28 MB / 1.063 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/0.5981, allocations: 265.4 kB / 1.064 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.093/2.692, allocations: 4 kB / 1.064 GB, free: 5.664 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)