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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001239/0.001239, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001494/0.001494, allocations: 200.5 kB / 16.26 MB, free: 6.625 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.3 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.553/0.5543, allocations: 140.4 MB / 0.9492 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.00361/0.558, allocations: 2.3 MB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00266/0.5607, allocations: 2.352 MB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.5608, allocations: 2.844 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.562, allocations: 437.5 kB / 0.9542 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.5621, allocations: 90.95 kB / 0.9543 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.5624, allocations: 89.86 kB / 0.9544 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006427/0.563, allocations: 0.8407 MB / 0.9552 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.5631, allocations: 44.14 kB / 0.9552 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.5634, allocations: 284.3 kB / 0.9555 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003471/0.5638, allocations: 358.2 kB / 0.9559 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.003e-05/0.5638, allocations: 52.66 kB / 0.9559 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.553e-05/0.5639, allocations: 55.09 kB / 0.956 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.5641, allocations: 223.6 kB / 0.9562 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.5643, allocations: 284 kB / 0.9564 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.5648, allocations: 0.723 MB / 0.9572 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5648, allocations: 4 kB / 0.9572 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5648, allocations: 0 / 0.9572 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.5648, allocations: 5.234 kB / 0.9572 GB, free: 3.246 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.00215/0.567, allocations: 0.9322 MB / 0.9581 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.567, allocations: 10.41 kB / 0.9581 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.5671, allocations: 43.22 kB / 0.9581 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.5672, allocations: 43.22 kB / 0.9582 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.5686, allocations: 0.5215 MB / 0.9587 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.5686, allocations: 22.22 kB / 0.9587 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/0.5687, allocations: 37.91 kB / 0.9587 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.5691, allocations: 210 kB / 0.9589 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.5691, allocations: 1.125 kB / 0.9589 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.5691, allocations: 5.125 kB / 0.9589 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.5691, allocations: 3.344 kB / 0.9589 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.5694, allocations: 172.2 kB / 0.9591 GB, free: 1.836 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.004349/0.5737, allocations: 1.435 MB / 0.9605 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.5754, allocations: 0.5914 MB / 0.9611 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.5756, allocations: 138.8 kB / 0.9612 GB, free: 500 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.5757, allocations: 6.578 kB / 0.9612 GB, free: 496 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.5757, allocations: 35.84 kB / 0.9613 GB, free: 452 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.5757, allocations: 0 / 0.9613 GB, free: 452 kB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.0009418/0.5766, allocations: 0.5481 MB / 0.9618 GB, free: 104 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.722e-05/0.5767, allocations: 55.41 kB / 0.9618 GB, free: 36 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.577, allocations: 399.5 kB / 0.9622 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.5771, allocations: 37.67 kB / 0.9623 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.5772, allocations: 167.1 kB / 0.9624 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.706e-05/0.5774, allocations: 95.03 kB / 0.9625 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.5776, allocations: 146 kB / 0.9626 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.5777, allocations: 350.1 kB / 0.963 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/0.5783, allocations: 343.9 kB / 0.9633 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.5789, allocations: 400.4 kB / 0.9637 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008459/0.5797, allocations: 0.5659 MB / 0.9642 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5797, allocations: 0 / 0.9642 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001493/0.5812, allocations: 0.9154 MB / 0.9651 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.5813, allocations: 38.44 kB / 0.9652 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5813, allocations: 4 kB / 0.9652 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.5815, allocations: 28.72 kB / 0.9652 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008578/0.5823, allocations: 150 kB / 0.9653 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.5834, allocations: 1.432 MB / 0.9667 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.5851, allocations: 116.4 kB / 0.9669 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.5852, allocations: 23.73 kB / 0.9669 GB, free: 12.25 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 (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.0001913/0.5854, allocations: 191.6 kB / 0.9671 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.5855, allocations: 37 kB / 0.9671 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.336e-05/0.5855, allocations: 36.84 kB / 0.9671 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.5856, allocations: 6.781 kB / 0.9671 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5856, allocations: 0 / 0.9671 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.5856, allocations: 0 / 0.9671 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.586, allocations: 458.2 kB / 0.9676 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.586, allocations: 1.375 kB / 0.9676 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.5863, allocations: 53.67 kB / 0.9676 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-05/0.5864, allocations: 30.41 kB / 0.9677 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.5864, allocations: 8.188 kB / 0.9677 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008673/0.5873, allocations: 1.43 MB / 0.9691 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5873, allocations: 0 / 0.9691 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007815/0.5881, allocations: 0.5997 MB / 0.9697 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.316e-05/0.5882, allocations: 114 kB / 0.9698 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.5883, allocations: 12.55 kB / 0.9698 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/0.5891, allocations: 29.19 kB / 0.9698 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.5891, allocations: 19.03 kB / 0.9698 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.5892, allocations: 5.688 kB / 0.9698 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002446/0.5894, allocations: 262.9 kB / 0.9701 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5894, allocations: 4 kB / 0.9701 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000648/0.5901, allocations: 237.9 kB / 0.9703 GB, free: 9.371 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 (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.001072/0.5911, allocations: 1.148 MB / 0.9714 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.5923, allocations: 0.7791 MB / 0.9722 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5923, allocations: 0 / 0.9722 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.5927, allocations: 261.6 kB / 0.9724 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.5933, allocations: 101.3 kB / 0.9725 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007886/0.6012, allocations: 5.596 MB / 0.978 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.6015, allocations: 0.8077 MB / 0.9788 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003155/0.6019, allocations: 111.2 kB / 0.9789 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.6021, allocations: 131.4 kB / 0.979 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of SimCode: time 2.736e-06/0.6021, allocations: 0 / 0.979 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1886/0.7907, allocations: 11.91 MB / 0.9906 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/0.791, allocations: 262 kB / 0.9909 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.993, allocations: 0 / 0.9909 GB, free: 6.711 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/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)