Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_9_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_9_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.001213/0.001213, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00142/0.00142, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.3 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004032, allocations: 12 kB / 0.8146 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8369/0.8373, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.00291/0.8403, allocations: 1.802 MB / 0.9554 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002899/0.8432, allocations: 2.093 MB / 0.9574 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.8434, allocations: 1.375 kB / 0.9574 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.8448, allocations: 424.4 kB / 0.9578 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.845, allocations: 68.92 kB / 0.9579 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.8454, allocations: 77.62 kB / 0.958 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007359/0.8461, allocations: 0.5185 MB / 0.9585 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.8463, allocations: 37.12 kB / 0.9585 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/0.8467, allocations: 234.7 kB / 0.9587 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004601/0.8472, allocations: 286.2 kB / 0.959 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.032e-05/0.8472, allocations: 26 kB / 0.959 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-05/0.8473, allocations: 29.47 kB / 0.9591 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002604/0.8476, allocations: 185.3 kB / 0.9592 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.8477, allocations: 102.5 kB / 0.9593 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.8482, allocations: 0.5487 MB / 0.9599 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8482, allocations: 5.312 kB / 0.9599 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8483, allocations: 0 / 0.9599 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.8483, allocations: 0 / 0.9599 GB, free: 3.402 MB / 0.7169 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.002468/0.8507, allocations: 0.8777 MB / 0.9607 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.712e-05/0.8508, allocations: 8.719 kB / 0.9607 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.152e-05/0.8509, allocations: 47.77 kB / 0.9608 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.8511, allocations: 45.08 kB / 0.9608 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.8529, allocations: 0.5186 MB / 0.9613 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.097e-05/0.853, allocations: 29.92 kB / 0.9614 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.8531, allocations: 37.91 kB / 0.9614 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005022/0.8536, allocations: 206.1 kB / 0.9616 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.8536, allocations: 0 / 0.9616 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.8536, allocations: 4.969 kB / 0.9616 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.8537, allocations: 7.484 kB / 0.9616 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.8541, allocations: 176.4 kB / 0.9618 GB, free: 2.035 MB / 0.7169 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.004377/0.8585, allocations: 1.396 MB / 0.9631 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.8603, allocations: 0.588 MB / 0.9637 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.8603, allocations: 3.281 kB / 0.9637 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.8603, allocations: 35.92 kB / 0.9637 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 2.515e-06/0.8604, allocations: 8.969 kB / 0.9638 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001407/0.8618, allocations: 0.5484 MB / 0.9643 GB, free: 428 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.8618, allocations: 57.47 kB / 0.9643 GB, free: 360 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.8623, allocations: 397.4 kB / 0.9647 GB, free: 92 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.8624, allocations: 37.61 kB / 0.9648 GB, free: 52 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.8626, allocations: 166.3 kB / 0.9649 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.8628, allocations: 91.53 kB / 0.965 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.8628, allocations: 11.31 kB / 0.965 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.863, allocations: 357.9 kB / 0.9654 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006383/0.8636, allocations: 330.1 kB / 0.9657 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006945/0.8643, allocations: 387.8 kB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007185/0.865, allocations: 393.6 kB / 0.9664 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.8651, allocations: 0 / 0.9664 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001778/0.8668, allocations: 0.8876 MB / 0.9673 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.8669, allocations: 41.42 kB / 0.9673 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.8669, allocations: 0 / 0.9673 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/0.8672, allocations: 35.23 kB / 0.9674 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008151/0.868, allocations: 143.3 kB / 0.9675 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.8692, allocations: 1.332 MB / 0.9688 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.871, allocations: 113.1 kB / 0.9689 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-05/0.8711, allocations: 26.59 kB / 0.9689 GB, free: 12.86 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002843/0.8714, allocations: 179.7 kB / 0.9691 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.814e-05/0.8715, allocations: 36.86 kB / 0.9691 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.933e-05/0.8716, allocations: 46.34 kB / 0.9692 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.8716, allocations: 1.062 kB / 0.9692 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.8716, allocations: 1 kB / 0.9692 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.8716, allocations: 1.125 kB / 0.9692 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/0.8722, allocations: 458 kB / 0.9696 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8722, allocations: 0 / 0.9696 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.8725, allocations: 54.48 kB / 0.9697 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000139/0.8727, allocations: 29.62 kB / 0.9697 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.8727, allocations: 8.406 kB / 0.9697 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.8738, allocations: 1.326 MB / 0.971 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8739, allocations: 1.312 kB / 0.971 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009738/0.8748, allocations: 0.5993 MB / 0.9716 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.875, allocations: 113 kB / 0.9717 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.875, allocations: 13.44 kB / 0.9717 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007256/0.8758, allocations: 33.86 kB / 0.9717 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.8758, allocations: 24.03 kB / 0.9718 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.8759, allocations: 7.781 kB / 0.9718 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003114/0.8762, allocations: 253.9 kB / 0.972 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8762, allocations: 1.812 kB / 0.972 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000882/0.8771, allocations: 233.9 kB / 0.9722 GB, free: 10.1 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001443/0.8785, allocations: 1.156 MB / 0.9734 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.8801, allocations: 0.7299 MB / 0.9741 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8802, allocations: 0 / 0.9741 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.8805, allocations: 266.5 kB / 0.9743 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007151/0.8813, allocations: 88.55 kB / 0.9744 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.8843, allocations: 1.859 MB / 0.9762 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.8848, allocations: 0.8225 MB / 0.977 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000436/0.8852, allocations: 109.3 kB / 0.9771 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.8855, allocations: 129.4 kB / 0.9773 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of SimCode: time 1.192e-06/0.8855, allocations: 0 / 0.9773 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.9143, allocations: 10.76 MB / 0.9878 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/0.9146, allocations: 241.4 kB / 0.988 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/2.992, allocations: 4 kB / 0.988 GB, free: 12.39 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat does not exist to compare? outputFormat=mat