Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="IDEAS_dev_IDEAS_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.001677/0.001677, allocations: 112.5 kB / 15.74 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 198 kB / 16.67 MB, free: 6.582 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.037/1.037, allocations: 135.5 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.89 kB / 0.5858 GB, free: 3.188 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4241, allocations: 81.03 MB / 0.6649 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.002896/0.4271, allocations: 2.21 MB / 0.667 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.4297, allocations: 2.399 MB / 0.6694 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.4299, allocations: 2.25 kB / 0.6694 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.4311, allocations: 0.4894 MB / 0.6699 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.4313, allocations: 85.34 kB / 0.6699 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.4316, allocations: 101 kB / 0.67 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007414/0.4323, allocations: 0.852 MB / 0.6709 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.4324, allocations: 36.47 kB / 0.6709 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.4327, allocations: 273.9 kB / 0.6712 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.4331, allocations: 341.7 kB / 0.6715 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.4332, allocations: 54.28 kB / 0.6715 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.4334, allocations: 56.38 kB / 0.6716 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.4336, allocations: 219.1 kB / 0.6718 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.4338, allocations: 283.5 kB / 0.6721 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005932/0.4344, allocations: 0.7349 MB / 0.6728 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4344, allocations: 3.938 kB / 0.6728 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4345, allocations: 0 / 0.6728 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4345, allocations: 0 / 0.6728 GB, free: 0.9258 MB / 0.4981 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.00231/0.4368, allocations: 0.9449 MB / 0.6737 GB, free: 208 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4368, allocations: 13.97 kB / 0.6737 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.4369, allocations: 47.33 kB / 0.6738 GB, free: 152 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.437, allocations: 43.39 kB / 0.6738 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.4386, allocations: 0.5151 MB / 0.6743 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.4386, allocations: 37.19 kB / 0.6744 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.516e-05/0.4387, allocations: 41.73 kB / 0.6744 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.4391, allocations: 199.8 kB / 0.6746 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4391, allocations: 3.938 kB / 0.6746 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.4391, allocations: 6.656 kB / 0.6746 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4391, allocations: 2.5 kB / 0.6746 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.4394, allocations: 173.4 kB / 0.6748 GB, free: 15.49 MB / 0.5137 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.004727/0.4442, allocations: 1.434 MB / 0.6762 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.446, allocations: 0.5869 MB / 0.6767 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.4462, allocations: 142.9 kB / 0.6769 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.4462, allocations: 2.156 kB / 0.6769 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.4463, allocations: 44.97 kB / 0.6769 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=24): time 2.013e-06/0.4463, allocations: 0 / 0.6769 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24): time 0.001151/0.4474, allocations: 0.5382 MB / 0.6775 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.4475, allocations: 53.62 kB / 0.6775 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.4479, allocations: 404.3 kB / 0.6779 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.351e-05/0.448, allocations: 37.02 kB / 0.6779 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.4482, allocations: 167.3 kB / 0.6781 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.4483, allocations: 102.7 kB / 0.6782 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.4486, allocations: 154.2 kB / 0.6783 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.4487, allocations: 350.4 kB / 0.6787 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/0.4493, allocations: 336.2 kB / 0.679 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/0.45, allocations: 400.1 kB / 0.6794 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009749/0.451, allocations: 0.5701 MB / 0.6799 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.451, allocations: 3.938 kB / 0.6799 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001655/0.4527, allocations: 0.9117 MB / 0.6808 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.4527, allocations: 36.61 kB / 0.6808 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.4528, allocations: 3.984 kB / 0.6809 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/0.4529, allocations: 27.75 kB / 0.6809 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008343/0.4538, allocations: 154.5 kB / 0.681 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.4551, allocations: 1.421 MB / 0.6824 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.457, allocations: 120.5 kB / 0.6825 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.219e-05/0.457, allocations: 23.05 kB / 0.6826 GB, free: 9.926 MB / 0.5137 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.0002763/0.4573, allocations: 177 kB / 0.6827 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.4575, allocations: 41.77 kB / 0.6828 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.847e-05/0.4576, allocations: 43.91 kB / 0.6828 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4576, allocations: 2.812 kB / 0.6828 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.4576, allocations: 1.25 kB / 0.6828 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.4576, allocations: 4 kB / 0.6828 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007049/0.4583, allocations: 466.4 kB / 0.6833 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4583, allocations: 0 / 0.6833 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.4586, allocations: 42.34 kB / 0.6833 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/0.4587, allocations: 30.28 kB / 0.6833 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.4588, allocations: 11.92 kB / 0.6833 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.4599, allocations: 1.419 MB / 0.6847 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4599, allocations: 0 / 0.6847 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008694/0.4608, allocations: 0.6091 MB / 0.6853 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.4609, allocations: 122.2 kB / 0.6854 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.461, allocations: 8.156 kB / 0.6854 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000732/0.4617, allocations: 29.8 kB / 0.6855 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.4618, allocations: 16.17 kB / 0.6855 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.4618, allocations: 11.61 kB / 0.6855 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002655/0.4621, allocations: 255.5 kB / 0.6857 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4621, allocations: 0 / 0.6857 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007012/0.4628, allocations: 238.4 kB / 0.686 GB, free: 7.055 MB / 0.5137 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.001202/0.464, allocations: 1.154 MB / 0.6871 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.4652, allocations: 0.7487 MB / 0.6878 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4652, allocations: 4 kB / 0.6878 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.4656, allocations: 261.8 kB / 0.6881 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.4662, allocations: 92.22 kB / 0.6882 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007346/0.4735, allocations: 5.487 MB / 0.6935 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.474, allocations: 0.8085 MB / 0.6943 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003064/0.4743, allocations: 114.7 kB / 0.6944 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.4746, allocations: 124.8 kB / 0.6945 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of SimCode: time 8.62e-07/0.4746, allocations: 0 / 0.6945 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03925/0.5138, allocations: 12.12 MB / 0.7064 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.43, allocations: 7.797 kB / 0.7064 GB, free: 5.785 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)