Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00122/0.00122, allocations: 194.3 kB / 16.14 MB, free: 6.711 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.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8374/0.8374, allocations: 135.1 MB / 425.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 60.09 kB / 0.5048 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1299, allocations: 80.93 MB / 0.5839 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002118/0.1321, allocations: 1.399 MB / 0.5852 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1335, allocations: 1.111 MB / 0.5863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.1336, allocations: 0 / 0.5863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.1336, allocations: 3.984 kB / 0.5863 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.1336, allocations: 7.922 kB / 0.5863 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.134, allocations: 151.6 kB / 0.5865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.936e-05/0.1341, allocations: 35.8 kB / 0.5865 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.183e-05/0.1341, allocations: 0 / 0.5865 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.378e-05/0.1342, allocations: 8 kB / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.1342, allocations: 15.92 kB / 0.5865 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.1343, allocations: 4 kB / 0.5865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004946/0.1348, allocations: 427.4 kB / 0.5869 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.719e-06/0.1348, allocations: 3.938 kB / 0.5869 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.1348, allocations: 15.92 kB / 0.587 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.1351, allocations: 191.9 kB / 0.5871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1351, allocations: 0 / 0.5871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1351, allocations: 0 / 0.5871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1351, allocations: 0 / 0.5871 GB, free: 1.461 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003558/0.1355, allocations: 383.3 kB / 0.5875 GB, free: 1.039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1355, allocations: 12.03 kB / 0.5875 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.1355, allocations: 34.69 kB / 0.5876 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.003e-05/0.1356, allocations: 8.938 kB / 0.5876 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.609e-05/0.1357, allocations: 176.2 kB / 0.5877 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.1357, allocations: 384 / 0.5877 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.1357, allocations: 7.922 kB / 0.5877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.524e-05/0.1358, allocations: 41.64 kB / 0.5878 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1358, allocations: 3.984 kB / 0.5878 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.1358, allocations: 0 / 0.5878 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1358, allocations: 0 / 0.5878 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.421e-05/0.1358, allocations: 8 kB / 0.5878 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.136, allocations: 165.7 kB / 0.588 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.94e-05/0.1361, allocations: 50.48 kB / 0.588 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.1361, allocations: 12.89 kB / 0.588 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008091/0.1369, allocations: 0.9856 MB / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.137, allocations: 38.48 kB / 0.589 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.137, allocations: 0 / 0.589 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001346/0.1371, allocations: 53.7 kB / 0.5891 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.1371, allocations: 55.39 kB / 0.5891 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.544e-05/0.1372, allocations: 101.9 kB / 0.5892 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.1372, allocations: 29.7 kB / 0.5892 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.1372, allocations: 96.11 kB / 0.5893 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.1373, allocations: 7.812 kB / 0.5893 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.1373, allocations: 17.72 kB / 0.5894 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.1374, allocations: 314.8 kB / 0.5897 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.1374, allocations: 4 kB / 0.5897 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.678e-05/0.1374, allocations: 8 kB / 0.5897 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.208e-05/0.1375, allocations: 24.8 kB / 0.5897 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1375, allocations: 4 kB / 0.5897 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.581e-05/0.1376, allocations: 53.62 kB / 0.5897 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.1376, allocations: 4 kB / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1376, allocations: 0 / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.1376, allocations: 0 / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.1377, allocations: 15.98 kB / 0.5898 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1377, allocations: 0 / 0.5898 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.1377, allocations: 11.84 kB / 0.5898 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.1378, allocations: 3.938 kB / 0.5898 GB, free: 14.31 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.1378, allocations: 121.7 kB / 0.5899 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.1378, allocations: 4 kB / 0.5899 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.138, allocations: 65.89 kB / 0.59 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.138, allocations: 0 / 0.59 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.138, allocations: 0 / 0.59 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.138, allocations: 0 / 0.59 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.223e-05/0.1381, allocations: 161.6 kB / 0.5901 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1381, allocations: 0 / 0.5901 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.709e-05/0.1382, allocations: 15.98 kB / 0.5901 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1382, allocations: 0 / 0.5901 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1382, allocations: 8 kB / 0.5901 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1382, allocations: 0 / 0.5901 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1382, allocations: 0 / 0.5901 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.948e-05/0.1383, allocations: 84.91 kB / 0.5902 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.1383, allocations: 77.11 kB / 0.5903 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.1383, allocations: 4 kB / 0.5903 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.286e-05/0.1384, allocations: 0 / 0.5903 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.1384, allocations: 7.922 kB / 0.5903 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1384, allocations: 8 kB / 0.5903 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.1384, allocations: 91.58 kB / 0.5904 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1384, allocations: 0 / 0.5904 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002084/0.1386, allocations: 39.98 kB / 0.5904 GB, free: 13.52 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004085/0.1391, allocations: 0.6729 MB / 0.5911 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.666e-05/0.1391, allocations: 19.98 kB / 0.5911 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1392, allocations: 0 / 0.5911 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.1392, allocations: 12 kB / 0.5911 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.1394, allocations: 4 kB / 0.5911 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.1397, allocations: 211.5 kB / 0.5913 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.1399, allocations: 0.677 MB / 0.592 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.122e-05/0.14, allocations: 7.375 kB / 0.592 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.14, allocations: 15.44 kB / 0.592 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.14, allocations: 0 / 0.592 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8512/0.9912, allocations: 2.016 MB / 0.594 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/0.9915, allocations: 288.4 kB / 0.5943 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.907, allocations: 0 / 0.5943 GB, free: 9.648 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)