Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="IBPSA_latest_IBPSA_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.001595/0.001595, allocations: 110.7 kB / 16.41 MB, free: 5.984 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: 191 kB / 17.34 MB, free: 5.602 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7534/0.7534, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 68.36 kB / 0.568 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1545, allocations: 77.93 MB / 0.6441 GB, free: 9.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003805/0.1583, allocations: 2.203 MB / 0.6462 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.1616, allocations: 2.402 MB / 0.6486 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.1618, allocations: 4 kB / 0.6486 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.1636, allocations: 486 kB / 0.649 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.1639, allocations: 107.3 kB / 0.6491 GB, free: 4.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.1643, allocations: 95.75 kB / 0.6492 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009977/0.1653, allocations: 0.8499 MB / 0.6501 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.1655, allocations: 44.27 kB / 0.6501 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005248/0.166, allocations: 279.4 kB / 0.6504 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005597/0.1666, allocations: 331.2 kB / 0.6507 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.1667, allocations: 55.94 kB / 0.6507 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1669, allocations: 56 kB / 0.6508 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.1671, allocations: 231.5 kB / 0.651 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004165/0.1676, allocations: 278.9 kB / 0.6513 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007606/0.1683, allocations: 0.7358 MB / 0.652 GB, free: 1.426 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1683, allocations: 0 / 0.652 GB, free: 1.426 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1683, allocations: 0 / 0.652 GB, free: 1.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.1684, allocations: 0 / 0.652 GB, free: 1.426 MB / 494.1 MB 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.002742/0.1711, allocations: 0.9444 MB / 0.6529 GB, free: 436 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1712, allocations: 8.625 kB / 0.6529 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.911e-05/0.1712, allocations: 46.73 kB / 0.653 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.1714, allocations: 48.66 kB / 0.653 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.1731, allocations: 0.5187 MB / 0.6535 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.1731, allocations: 24.38 kB / 0.6536 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.1733, allocations: 40.38 kB / 0.6536 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.1736, allocations: 205.5 kB / 0.6538 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1737, allocations: 4 kB / 0.6538 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.1737, allocations: 4 kB / 0.6538 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1737, allocations: 4 kB / 0.6538 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.174, allocations: 171.9 kB / 0.654 GB, free: 15.31 MB / 0.4981 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.004686/0.1787, allocations: 1.443 MB / 0.6554 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.1805, allocations: 0.588 MB / 0.6559 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.1807, allocations: 140.8 kB / 0.6561 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.1808, allocations: 4 kB / 0.6561 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1808, allocations: 30.56 kB / 0.6561 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=24): time 2.265e-06/0.1808, allocations: 3.938 kB / 0.6561 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24): time 0.001153/0.182, allocations: 0.5468 MB / 0.6567 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.182, allocations: 59.41 kB / 0.6567 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/0.1825, allocations: 397.4 kB / 0.6571 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002365/0.1828, allocations: 45.64 kB / 0.6571 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1829, allocations: 161.3 kB / 0.6573 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.183, allocations: 95.17 kB / 0.6574 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.1833, allocations: 154.3 kB / 0.6575 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1834, allocations: 354.8 kB / 0.6579 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/0.184, allocations: 341 kB / 0.6582 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/0.1846, allocations: 397.5 kB / 0.6586 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008693/0.1855, allocations: 0.5685 MB / 0.6591 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1855, allocations: 3.938 kB / 0.6591 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001519/0.1871, allocations: 0.9288 MB / 0.66 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.1871, allocations: 29.7 kB / 0.6601 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1871, allocations: 0 / 0.6601 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.1873, allocations: 32.84 kB / 0.6601 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008281/0.1882, allocations: 155.7 kB / 0.6602 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.1896, allocations: 1.422 MB / 0.6616 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.1912, allocations: 111.3 kB / 0.6617 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/0.1914, allocations: 23.98 kB / 0.6618 GB, free: 6.977 MB / 0.4981 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.0002991/0.1918, allocations: 186.3 kB / 0.6619 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/0.1919, allocations: 35.75 kB / 0.662 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.1919, allocations: 39.48 kB / 0.662 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.192, allocations: 3.938 kB / 0.662 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.192, allocations: 4 kB / 0.662 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.192, allocations: 3.984 kB / 0.662 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.1925, allocations: 457.1 kB / 0.6625 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1925, allocations: 0 / 0.6625 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.1928, allocations: 51.91 kB / 0.6625 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.1929, allocations: 24.84 kB / 0.6625 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.1929, allocations: 11.98 kB / 0.6625 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.1939, allocations: 1.426 MB / 0.6639 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.194, allocations: 0 / 0.6639 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.1948, allocations: 0.6047 MB / 0.6645 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.1949, allocations: 120.8 kB / 0.6646 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.195, allocations: 8 kB / 0.6646 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000722/0.1957, allocations: 23.91 kB / 0.6647 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.1958, allocations: 19.97 kB / 0.6647 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1958, allocations: 4 kB / 0.6647 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003058/0.1961, allocations: 267.1 kB / 0.6649 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1962, allocations: 0 / 0.6649 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007075/0.1969, allocations: 243.9 kB / 0.6652 GB, free: 3.23 MB / 0.4981 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.001278/0.1982, allocations: 1.153 MB / 0.6663 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.1994, allocations: 0.7363 MB / 0.667 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1994, allocations: 0 / 0.667 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.1997, allocations: 262.4 kB / 0.6673 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.2004, allocations: 99.44 kB / 0.6674 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007572/0.2079, allocations: 5.483 MB / 0.6727 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.2084, allocations: 0.8154 MB / 0.6735 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003175/0.2087, allocations: 111.2 kB / 0.6736 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.209, allocations: 129.4 kB / 0.6738 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of SimCode: time 1.323e-06/0.209, allocations: 0 / 0.6738 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03694/0.2459, allocations: 12.13 MB / 0.6856 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.41, allocations: 14.75 kB / 0.6856 GB, free: 14.39 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.csv --start-time 0 --stop-time 360000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 144 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)