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.006996/0.006996, allocations: 103.4 kB / 15.73 MB, free: 6 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.001209/0.001209, allocations: 193.8 kB / 16.68 MB, free: 5.922 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002161/0.00216, allocations: 285.1 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9176/0.9176, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 99.84 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4576, allocations: 86.99 MB / 0.7659 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003577/0.4612, allocations: 2.213 MB / 0.7681 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003278/0.4645, allocations: 2.382 MB / 0.7704 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.4647, allocations: 7.938 kB / 0.7704 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.4664, allocations: 486 kB / 0.7709 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.4666, allocations: 99.34 kB / 0.771 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.467, allocations: 103.8 kB / 0.7711 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008828/0.4679, allocations: 0.8518 MB / 0.7719 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.468, allocations: 52.22 kB / 0.772 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004716/0.4685, allocations: 271.5 kB / 0.7722 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007011/0.4692, allocations: 335.2 kB / 0.7725 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.4694, allocations: 56 kB / 0.7726 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.4695, allocations: 56 kB / 0.7726 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.4698, allocations: 227.4 kB / 0.7729 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004228/0.4702, allocations: 286.9 kB / 0.7731 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007329/0.4709, allocations: 0.7244 MB / 0.7738 GB, free: 11.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.471, allocations: 7.938 kB / 0.7739 GB, free: 11.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.152e-06/0.471, allocations: 0 / 0.7739 GB, free: 11.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.068e-05/0.471, allocations: 0 / 0.7739 GB, free: 11.73 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.002694/0.4737, allocations: 0.9292 MB / 0.7748 GB, free: 10.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4737, allocations: 8.031 kB / 0.7748 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.4738, allocations: 46.73 kB / 0.7748 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.474, allocations: 44.47 kB / 0.7749 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.4756, allocations: 0.5223 MB / 0.7754 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.4756, allocations: 24.38 kB / 0.7754 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.4757, allocations: 36.38 kB / 0.7754 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.4761, allocations: 209.4 kB / 0.7756 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4761, allocations: 3.984 kB / 0.7756 GB, free: 9.805 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.4762, allocations: 8 kB / 0.7756 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4762, allocations: 4 kB / 0.7756 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.4765, allocations: 175.9 kB / 0.7758 GB, free: 9.621 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.004444/0.4809, allocations: 1.432 MB / 0.7772 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.4827, allocations: 0.5869 MB / 0.7778 GB, free: 7.531 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.4829, allocations: 136.8 kB / 0.7779 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.4829, allocations: 4 kB / 0.7779 GB, free: 7.391 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.4829, allocations: 34.56 kB / 0.7779 GB, free: 7.348 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/0.483, allocations: 4 kB / 0.7779 GB, free: 7.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.001064/0.484, allocations: 0.5421 MB / 0.7785 GB, free: 6.773 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.4841, allocations: 55.41 kB / 0.7785 GB, free: 6.707 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.4844, allocations: 397.4 kB / 0.7789 GB, free: 6.309 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.1e-05/0.4845, allocations: 37.7 kB / 0.7789 GB, free: 6.266 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.4847, allocations: 173 kB / 0.7791 GB, free: 6.094 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.4848, allocations: 90.66 kB / 0.7792 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.485, allocations: 150.3 kB / 0.7793 GB, free: 5.852 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.4851, allocations: 350.8 kB / 0.7797 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/0.4857, allocations: 337.1 kB / 0.78 GB, free: 5.172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/0.4862, allocations: 405.5 kB / 0.7804 GB, free: 4.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008022/0.4871, allocations: 0.576 MB / 0.7809 GB, free: 4.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.4871, allocations: 0 / 0.7809 GB, free: 4.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001424/0.4885, allocations: 0.917 MB / 0.7818 GB, free: 3.246 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.4886, allocations: 41.69 kB / 0.7819 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4886, allocations: 0 / 0.7819 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.4888, allocations: 28.78 kB / 0.7819 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000835/0.4896, allocations: 147.8 kB / 0.782 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.4907, allocations: 1.426 MB / 0.7834 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.4923, allocations: 107.3 kB / 0.7835 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.4924, allocations: 23.98 kB / 0.7836 GB, free: 1.332 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.0002049/0.4926, allocations: 181.7 kB / 0.7837 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.4927, allocations: 43.47 kB / 0.7838 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.4928, allocations: 39.48 kB / 0.7838 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4928, allocations: 11.92 kB / 0.7838 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4928, allocations: 0 / 0.7838 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4928, allocations: 0 / 0.7838 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.4933, allocations: 461 kB / 0.7843 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4933, allocations: 0 / 0.7843 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.4935, allocations: 55.89 kB / 0.7843 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/0.4937, allocations: 28.84 kB / 0.7844 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.4937, allocations: 8 kB / 0.7844 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009913/0.4947, allocations: 1.422 MB / 0.7857 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4947, allocations: 0 / 0.7857 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000828/0.4955, allocations: 0.596 MB / 0.7863 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/0.4957, allocations: 112.8 kB / 0.7864 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.4957, allocations: 15.98 kB / 0.7865 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007068/0.4964, allocations: 31.81 kB / 0.7865 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.4965, allocations: 15.97 kB / 0.7865 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.4965, allocations: 8 kB / 0.7865 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002426/0.4968, allocations: 259.2 kB / 0.7868 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4968, allocations: 0 / 0.7868 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006382/0.4974, allocations: 239.9 kB / 0.787 GB, free: 13.59 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.001084/0.4985, allocations: 1.148 MB / 0.7881 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.4996, allocations: 0.7359 MB / 0.7888 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4996, allocations: 0 / 0.7888 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.5, allocations: 266.5 kB / 0.7891 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006128/0.5006, allocations: 103.4 kB / 0.7892 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00712/0.5077, allocations: 5.471 MB / 0.7945 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.5082, allocations: 0.8077 MB / 0.7953 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003259/0.5085, allocations: 111.2 kB / 0.7954 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.5088, allocations: 123.4 kB / 0.7955 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/0.5088, allocations: 4 kB / 0.7955 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03642/0.5452, allocations: 12.39 MB / 0.8076 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.896/10.44, allocations: 13.78 kB / 0.8076 GB, free: 8.555 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)