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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001353/0.001353, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001533/0.001533, allocations: 192.5 kB / 16.25 MB, free: 6.641 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.218/1.218, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.332/2.332, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.83 kB / 0.8689 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5137/0.515, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.004119/0.5191, allocations: 2.31 MB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00293/0.5221, allocations: 2.357 MB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.5222, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.5235, allocations: 446.3 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.5238, allocations: 83.48 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.5241, allocations: 95.88 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007698/0.5248, allocations: 0.8421 MB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.5249, allocations: 40.3 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.5252, allocations: 283.5 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003843/0.5256, allocations: 355.1 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.686e-05/0.5257, allocations: 52 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.12e-05/0.5258, allocations: 56 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.526, allocations: 223.4 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.5262, allocations: 282.9 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005404/0.5268, allocations: 0.7283 MB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5268, allocations: 0 / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5268, allocations: 0 / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.5268, allocations: 0 / 1.025 GB, free: 10.54 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.002191/0.529, allocations: 0.9252 MB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.5291, allocations: 12.03 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.5291, allocations: 46.73 kB / 1.026 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.5292, allocations: 48.47 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.5307, allocations: 0.5223 MB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.5307, allocations: 28.38 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.471e-05/0.5308, allocations: 40.28 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.5311, allocations: 209.4 kB / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.5311, allocations: 11.97 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.5312, allocations: 4 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.5312, allocations: 4 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.5314, allocations: 171.9 kB / 1.027 GB, free: 8.414 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.004459/0.5359, allocations: 1.428 MB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.5376, allocations: 0.5763 MB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.5379, allocations: 148.8 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.5379, allocations: 0 / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.5379, allocations: 34.56 kB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 1.082e-06/0.5379, allocations: 0 / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.0009495/0.5389, allocations: 0.5516 MB / 1.03 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.5389, allocations: 55.41 kB / 1.03 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.5392, allocations: 405.3 kB / 1.03 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.824e-05/0.5393, allocations: 37.7 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.5394, allocations: 161.2 kB / 1.03 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.558e-05/0.5395, allocations: 94.66 kB / 1.03 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.5397, allocations: 146.3 kB / 1.03 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.5399, allocations: 350.8 kB / 1.031 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.5404, allocations: 341.1 kB / 1.031 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/0.5409, allocations: 401.5 kB / 1.031 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007686/0.5417, allocations: 0.5684 MB / 1.032 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5417, allocations: 0 / 1.032 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001376/0.5431, allocations: 0.9169 MB / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.5431, allocations: 37.7 kB / 1.033 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5432, allocations: 0 / 1.033 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.5433, allocations: 32.83 kB / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008297/0.5442, allocations: 151.8 kB / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009725/0.5452, allocations: 1.422 MB / 1.034 GB, free: 276 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.5468, allocations: 115.3 kB / 1.035 GB, free: 160 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.5469, allocations: 23.98 kB / 1.035 GB, free: 136 kB / 0.7794 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.0002/0.5471, allocations: 189.7 kB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.5472, allocations: 31.53 kB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.46e-05/0.5473, allocations: 43.42 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5473, allocations: 3.938 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.5473, allocations: 0 / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5473, allocations: 3.984 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.5477, allocations: 465 kB / 1.035 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5477, allocations: 0 / 1.035 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.548, allocations: 51.84 kB / 1.035 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.56e-05/0.5481, allocations: 36.83 kB / 1.035 GB, free: 15.26 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.5482, allocations: 8 kB / 1.035 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008646/0.549, allocations: 1.418 MB / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.549, allocations: 0 / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007352/0.5498, allocations: 0.6067 MB / 1.037 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-05/0.5499, allocations: 112.6 kB / 1.037 GB, free: 12.94 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.5499, allocations: 15.98 kB / 1.037 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/0.5507, allocations: 23.91 kB / 1.038 GB, free: 12.9 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.5507, allocations: 19.97 kB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.5508, allocations: 4 kB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002165/0.551, allocations: 263.2 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.551, allocations: 0 / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005839/0.5516, allocations: 243.8 kB / 1.038 GB, free: 12.38 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.001003/0.5526, allocations: 1.148 MB / 1.039 GB, free: 11.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.5537, allocations: 0.7788 MB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5537, allocations: 0 / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.554, allocations: 263.6 kB / 1.04 GB, free: 10.12 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.5545, allocations: 95.17 kB / 1.04 GB, free: 10.04 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006602/0.5612, allocations: 5.586 MB / 1.046 GB, free: 4.363 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.5615, allocations: 0.8155 MB / 1.046 GB, free: 3.523 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002931/0.5618, allocations: 111.2 kB / 1.047 GB, free: 3.41 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.562, allocations: 127.4 kB / 1.047 GB, free: 3.285 MB / 0.795 GB Notification: Performance of SimCode: time 1.462e-06/0.562, allocations: 0 / 1.047 GB, free: 3.285 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.619/3.181, allocations: 11.92 MB / 1.058 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/3.181, allocations: 267.9 kB / 1.059 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/5.507, allocations: 0 / 1.059 GB, free: 7.316 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)