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.001096/0.001096, allocations: 104 kB / 16.27 MB, free: 5.977 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.001245/0.001245, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7268/0.7268, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3544, allocations: 77.93 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.00404/0.3585, allocations: 2.204 MB / 0.5695 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003478/0.362, allocations: 2.389 MB / 0.5718 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.3622, allocations: 3.438 kB / 0.5718 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.3639, allocations: 0.4921 MB / 0.5723 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.3641, allocations: 91.69 kB / 0.5724 GB, free: 29.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.3645, allocations: 97.58 kB / 0.5725 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009267/0.3654, allocations: 0.8442 MB / 0.5733 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.3656, allocations: 39.38 kB / 0.5733 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000433/0.366, allocations: 282.6 kB / 0.5736 GB, free: 28.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005234/0.3666, allocations: 330.6 kB / 0.5739 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.3667, allocations: 54.78 kB / 0.574 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3668, allocations: 56.88 kB / 0.574 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.3671, allocations: 233.8 kB / 0.5742 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.3675, allocations: 279.6 kB / 0.5745 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008824/0.3683, allocations: 0.7291 MB / 0.5752 GB, free: 28.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3684, allocations: 0.8438 kB / 0.5752 GB, free: 28.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3684, allocations: 1.156 kB / 0.5752 GB, free: 28.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.3684, allocations: 1.125 kB / 0.5752 GB, free: 28.16 MB / 446.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.00251/0.3709, allocations: 0.9244 MB / 0.5761 GB, free: 27.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.371, allocations: 10.59 kB / 0.5761 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/0.371, allocations: 51.28 kB / 0.5762 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.3712, allocations: 43.52 kB / 0.5762 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.3727, allocations: 0.5197 MB / 0.5767 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.3727, allocations: 29.11 kB / 0.5768 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-05/0.3728, allocations: 39.02 kB / 0.5768 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.3732, allocations: 207.9 kB / 0.577 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3732, allocations: 1.719 kB / 0.577 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.3733, allocations: 9.406 kB / 0.577 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3733, allocations: 4.75 kB / 0.577 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.3736, allocations: 171.2 kB / 0.5772 GB, free: 27.06 MB / 446.1 MB 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.004678/0.3783, allocations: 1.433 MB / 0.5786 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.3802, allocations: 0.5847 MB / 0.5791 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.3805, allocations: 140.4 kB / 0.5793 GB, free: 25.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3805, allocations: 2.531 kB / 0.5793 GB, free: 25.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3805, allocations: 36.25 kB / 0.5793 GB, free: 25.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 2.866e-06/0.3805, allocations: 1.969 kB / 0.5793 GB, free: 25.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.001487/0.382, allocations: 0.5601 MB / 0.5799 GB, free: 25.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.3821, allocations: 54.38 kB / 0.5799 GB, free: 25.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005033/0.3826, allocations: 395.8 kB / 0.5803 GB, free: 25.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.341e-05/0.3827, allocations: 42.67 kB / 0.5803 GB, free: 25.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.3828, allocations: 167.6 kB / 0.5805 GB, free: 24.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.383, allocations: 93.73 kB / 0.5806 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.3833, allocations: 147.1 kB / 0.5807 GB, free: 24.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3834, allocations: 356 kB / 0.5811 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006303/0.3841, allocations: 335.9 kB / 0.5814 GB, free: 24.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/0.3847, allocations: 405.6 kB / 0.5818 GB, free: 24.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007776/0.3855, allocations: 0.566 MB / 0.5823 GB, free: 23.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3855, allocations: 4.625 kB / 0.5823 GB, free: 23.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001519/0.387, allocations: 0.9126 MB / 0.5832 GB, free: 23.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.387, allocations: 37.3 kB / 0.5832 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3871, allocations: 3.984 kB / 0.5832 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.3873, allocations: 28.75 kB / 0.5833 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008064/0.3881, allocations: 152.9 kB / 0.5834 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007885/0.3889, allocations: 1.426 MB / 0.5848 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.3905, allocations: 111 kB / 0.5849 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/0.3905, allocations: 23.39 kB / 0.5849 GB, free: 21.65 MB / 446.1 MB 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.0001759/0.3907, allocations: 185.5 kB / 0.5851 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.3908, allocations: 37.56 kB / 0.5852 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.919e-05/0.3909, allocations: 37.27 kB / 0.5852 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3909, allocations: 6.625 kB / 0.5852 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3909, allocations: 3.984 kB / 0.5852 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3909, allocations: 0 / 0.5852 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.3912, allocations: 463 kB / 0.5856 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3913, allocations: 0 / 0.5856 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.3915, allocations: 50.38 kB / 0.5857 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-05/0.3916, allocations: 29.08 kB / 0.5857 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.3916, allocations: 8.875 kB / 0.5857 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000658/0.3923, allocations: 1.428 MB / 0.5871 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3923, allocations: 0 / 0.5871 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.393, allocations: 0.5916 MB / 0.5877 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.3931, allocations: 113.1 kB / 0.5878 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.3932, allocations: 12.52 kB / 0.5878 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006888/0.3938, allocations: 29.19 kB / 0.5878 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.3939, allocations: 24.28 kB / 0.5879 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.3939, allocations: 7.969 kB / 0.5879 GB, free: 18.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002032/0.3941, allocations: 255.9 kB / 0.5881 GB, free: 18.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3941, allocations: 0 / 0.5881 GB, free: 18.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006452/0.3948, allocations: 242 kB / 0.5884 GB, free: 18.79 MB / 446.1 MB 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.0008754/0.3957, allocations: 1.141 MB / 0.5895 GB, free: 17.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.3967, allocations: 0.7819 MB / 0.5902 GB, free: 17.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3967, allocations: 0 / 0.5902 GB, free: 17.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.397, allocations: 264.5 kB / 0.5905 GB, free: 17.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.3976, allocations: 105.4 kB / 0.5906 GB, free: 17.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/0.4033, allocations: 5.514 MB / 0.596 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.4035, allocations: 0.8172 MB / 0.5968 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002738/0.4037, allocations: 107.2 kB / 0.5969 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.4039, allocations: 127.4 kB / 0.597 GB, free: 11.59 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4039, allocations: 0 / 0.597 GB, free: 11.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.928/3.332, allocations: 12.01 MB / 0.6087 GB, free: 15.86 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.402/12.73, allocations: 14.62 kB / 0.6087 GB, free: 15.85 MB / 462.1 MB (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)