Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="BuildingSystems_BuildingSystems_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.006283/0.006283, allocations: 99.44 kB / 15.73 MB, free: 6.008 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.00175/0.00175, allocations: 192.5 kB / 16.67 MB, free: 5.926 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00259/0.00259, allocations: 291.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002644/0.002644, allocations: 91.86 kB / 0.681 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4601, allocations: 86.98 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.00365/0.4638, allocations: 2.218 MB / 0.7681 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003494/0.4674, allocations: 2.386 MB / 0.7704 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.4675, allocations: 3.938 kB / 0.7704 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.469, allocations: 497.5 kB / 0.7709 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.4692, allocations: 87.38 kB / 0.771 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.4695, allocations: 107.8 kB / 0.7711 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009515/0.4705, allocations: 0.8421 MB / 0.7719 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.4706, allocations: 48.28 kB / 0.772 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006995/0.4713, allocations: 275.5 kB / 0.7722 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/0.472, allocations: 335.1 kB / 0.7725 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.4721, allocations: 56 kB / 0.7726 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.4722, allocations: 56 kB / 0.7726 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.4725, allocations: 223.4 kB / 0.7729 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.4729, allocations: 286.9 kB / 0.7731 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.474, allocations: 0.7336 MB / 0.7738 GB, free: 11.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.474, allocations: 0 / 0.7738 GB, free: 11.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4741, allocations: 0 / 0.7738 GB, free: 11.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.4741, allocations: 0 / 0.7738 GB, free: 11.7 MB / 0.545 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.002813/0.4769, allocations: 0.9471 MB / 0.7748 GB, free: 10.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001072/0.477, allocations: 8.031 kB / 0.7748 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.4771, allocations: 46.75 kB / 0.7748 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.4773, allocations: 48.64 kB / 0.7749 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.4789, allocations: 0.5187 MB / 0.7754 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.4789, allocations: 28.36 kB / 0.7754 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.296e-05/0.479, allocations: 36.38 kB / 0.7754 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.4794, allocations: 209.4 kB / 0.7756 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4794, allocations: 0 / 0.7756 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.4795, allocations: 8 kB / 0.7756 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.4795, allocations: 8 kB / 0.7757 GB, free: 9.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.4798, allocations: 171.9 kB / 0.7758 GB, free: 9.582 MB / 0.545 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.004604/0.4845, allocations: 1.436 MB / 0.7772 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.4864, allocations: 0.5802 MB / 0.7778 GB, free: 7.492 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.4866, allocations: 144.8 kB / 0.7779 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.4866, allocations: 0 / 0.7779 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4867, allocations: 38.56 kB / 0.778 GB, free: 7.301 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 1.103e-06/0.4867, allocations: 0 / 0.778 GB, free: 7.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.001127/0.4878, allocations: 0.549 MB / 0.7785 GB, free: 6.727 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.4879, allocations: 55.41 kB / 0.7786 GB, free: 6.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/0.4883, allocations: 397.5 kB / 0.7789 GB, free: 6.262 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.841e-05/0.4884, allocations: 37.69 kB / 0.779 GB, free: 6.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.4885, allocations: 169.2 kB / 0.7791 GB, free: 6.051 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.4888, allocations: 99.16 kB / 0.7792 GB, free: 5.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005356/0.4893, allocations: 154.3 kB / 0.7794 GB, free: 5.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4895, allocations: 350.8 kB / 0.7797 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005788/0.4901, allocations: 341.1 kB / 0.78 GB, free: 5.113 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/0.4907, allocations: 401.5 kB / 0.7804 GB, free: 4.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009365/0.4916, allocations: 0.5761 MB / 0.781 GB, free: 4.125 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.4917, allocations: 4 kB / 0.781 GB, free: 4.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001582/0.4933, allocations: 0.9173 MB / 0.7819 GB, free: 3.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.541e-05/0.4933, allocations: 37.7 kB / 0.7819 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4934, allocations: 3.984 kB / 0.7819 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/0.4936, allocations: 28.84 kB / 0.7819 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008836/0.4945, allocations: 147.8 kB / 0.7821 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.4959, allocations: 1.43 MB / 0.7835 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.4976, allocations: 103.6 kB / 0.7836 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/0.4977, allocations: 27.97 kB / 0.7836 GB, free: 1.27 MB / 0.545 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.00025/0.498, allocations: 189.9 kB / 0.7838 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.498, allocations: 35.77 kB / 0.7838 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.906e-05/0.4981, allocations: 39.47 kB / 0.7839 GB, free: 1.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4981, allocations: 7.938 kB / 0.7839 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4981, allocations: 0 / 0.7839 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4981, allocations: 0 / 0.7839 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.4987, allocations: 465 kB / 0.7843 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4987, allocations: 0 / 0.7843 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.499, allocations: 47.91 kB / 0.7844 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.4991, allocations: 28.84 kB / 0.7844 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.4991, allocations: 15.98 kB / 0.7844 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.5004, allocations: 1.422 MB / 0.7858 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5004, allocations: 0 / 0.7858 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009028/0.5014, allocations: 0.5998 MB / 0.7864 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5015, allocations: 116.9 kB / 0.7865 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.5015, allocations: 12 kB / 0.7865 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007385/0.5023, allocations: 31.91 kB / 0.7865 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.5024, allocations: 11.98 kB / 0.7865 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.5024, allocations: 8 kB / 0.7865 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002698/0.5027, allocations: 263.1 kB / 0.7868 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5027, allocations: 0 / 0.7868 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008224/0.5035, allocations: 235.9 kB / 0.787 GB, free: 13.53 MB / 0.5606 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.001257/0.5047, allocations: 1.147 MB / 0.7881 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.506, allocations: 0.7414 MB / 0.7889 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.506, allocations: 0 / 0.7889 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004939/0.5065, allocations: 270.4 kB / 0.7891 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.5072, allocations: 90.98 kB / 0.7892 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007635/0.5148, allocations: 5.484 MB / 0.7946 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.5154, allocations: 0.8119 MB / 0.7954 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002885/0.5157, allocations: 111.2 kB / 0.7955 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.516, allocations: 127.4 kB / 0.7956 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.516, allocations: 0 / 0.7956 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04502/0.561, allocations: 12.18 MB / 0.8075 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.95, allocations: 5.188 kB / 0.8075 GB, free: 8.703 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)