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.000767/0.000767, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008548/0.0008549, allocations: 168.7 kB / 15.95 MB, free: 204 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.299/1.299, allocations: 223.2 MB / 240 MB, free: 5.422 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.307/2.307, allocations: 390.4 MB / 0.6655 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.589/0.5893, allocations: 142.3 MB / 0.9539 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.002193/0.5915, allocations: 1.887 MB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002587/0.5942, allocations: 2.173 MB / 0.9578 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.5944, allocations: 6.031 kB / 0.9578 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.5955, allocations: 390.4 kB / 0.9582 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.5958, allocations: 77.89 kB / 0.9583 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.5961, allocations: 83.61 kB / 0.9584 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007851/0.5969, allocations: 0.7447 MB / 0.9591 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.597, allocations: 36.08 kB / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004422/0.5975, allocations: 254.2 kB / 0.9594 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005597/0.598, allocations: 330.7 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.5982, allocations: 28.88 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.5983, allocations: 28.88 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.5986, allocations: 205.3 kB / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.5988, allocations: 99.39 kB / 0.96 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.5992, allocations: 0.5541 MB / 0.9606 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5992, allocations: 0 / 0.9606 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5993, allocations: 4.875 kB / 0.9606 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.063e-05/0.5993, allocations: 0 / 0.9606 GB, free: 3.188 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.002319/0.6016, allocations: 0.8852 MB / 0.9614 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.6016, allocations: 9.375 kB / 0.9615 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.146e-05/0.6017, allocations: 48.06 kB / 0.9615 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.6019, allocations: 49.38 kB / 0.9615 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.6034, allocations: 0.5122 MB / 0.962 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.6035, allocations: 25.91 kB / 0.9621 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.6036, allocations: 36.88 kB / 0.9621 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.604, allocations: 208.3 kB / 0.9623 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.604, allocations: 4 kB / 0.9623 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.604, allocations: 5.156 kB / 0.9623 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.604, allocations: 7.703 kB / 0.9623 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.6043, allocations: 175.8 kB / 0.9625 GB, free: 1.82 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.004085/0.6084, allocations: 1.477 MB / 0.9639 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.6102, allocations: 0.592 MB / 0.9645 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.6105, allocations: 152.6 kB / 0.9647 GB, free: 468 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.6105, allocations: 2.031 kB / 0.9647 GB, free: 468 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.6105, allocations: 40.2 kB / 0.9647 GB, free: 420 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 2.765e-06/0.6105, allocations: 3.938 kB / 0.9647 GB, free: 416 kB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001219/0.6118, allocations: 0.5497 MB / 0.9652 GB, free: 72 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.6118, allocations: 57.34 kB / 0.9653 GB, free: 4 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007226/0.6125, allocations: 388.9 kB / 0.9657 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.6127, allocations: 41.77 kB / 0.9657 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.6129, allocations: 165.7 kB / 0.9659 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.6131, allocations: 91.09 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.6132, allocations: 15.69 kB / 0.966 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.6134, allocations: 357.3 kB / 0.9663 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/0.6141, allocations: 336.8 kB / 0.9666 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007256/0.6149, allocations: 403.2 kB / 0.967 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00078/0.6156, allocations: 402.2 kB / 0.9674 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6157, allocations: 0 / 0.9674 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001678/0.6173, allocations: 0.9177 MB / 0.9683 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.6174, allocations: 34.55 kB / 0.9683 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6174, allocations: 0 / 0.9683 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.6176, allocations: 27.72 kB / 0.9683 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008246/0.6185, allocations: 155.4 kB / 0.9685 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.6197, allocations: 1.324 MB / 0.9698 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.6212, allocations: 110.2 kB / 0.9699 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/0.6213, allocations: 29.95 kB / 0.9699 GB, free: 12.5 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.0002586/0.6216, allocations: 184 kB / 0.9701 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.365e-05/0.6217, allocations: 32.84 kB / 0.9701 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.6218, allocations: 40.97 kB / 0.9702 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.6218, allocations: 2.188 kB / 0.9702 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.6218, allocations: 1.219 kB / 0.9702 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6218, allocations: 3.938 kB / 0.9702 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006086/0.6224, allocations: 466.2 kB / 0.9706 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6224, allocations: 0.625 kB / 0.9706 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.6227, allocations: 50.84 kB / 0.9707 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.6228, allocations: 26.56 kB / 0.9707 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.6229, allocations: 8.375 kB / 0.9707 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.6242, allocations: 1.33 MB / 0.972 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6242, allocations: 0 / 0.972 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009061/0.6252, allocations: 0.599 MB / 0.9726 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.6253, allocations: 113.9 kB / 0.9727 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.6254, allocations: 8.156 kB / 0.9727 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/0.626, allocations: 31.14 kB / 0.9727 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.6261, allocations: 19 kB / 0.9728 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.6261, allocations: 12.83 kB / 0.9728 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000322/0.6265, allocations: 256.8 kB / 0.973 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6265, allocations: 0 / 0.973 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008149/0.6273, allocations: 237.8 kB / 0.9732 GB, free: 9.73 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.001242/0.6285, allocations: 1.157 MB / 0.9744 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.6299, allocations: 0.7457 MB / 0.9751 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6299, allocations: 0 / 0.9751 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.6302, allocations: 263 kB / 0.9753 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006748/0.6309, allocations: 91.27 kB / 0.9754 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006169/0.6371, allocations: 3.762 MB / 0.9791 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.6376, allocations: 0.8074 MB / 0.9799 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004035/0.638, allocations: 111.2 kB / 0.98 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.6383, allocations: 127.4 kB / 0.9801 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of SimCode: time 6.32e-07/0.6383, allocations: 0 / 0.9801 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.6651, allocations: 11.34 MB / 0.9912 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/0.6654, allocations: 254.1 kB / 0.9914 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.621, allocations: 0 / 0.9914 GB, free: 9.121 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