Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.005789/0.005789, allocations: 102.2 kB / 15.73 MB, free: 6.031 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.001169/0.001169, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7244/0.7244, allocations: 132.2 MB / 422.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 72.38 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1463, allocations: 80.2 MB / 0.6593 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002127/0.1484, allocations: 1.362 MB / 0.6606 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1499, allocations: 1.064 MB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.15, allocations: 0 / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.15, allocations: 11.92 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.562e-05/0.1501, allocations: 7.922 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.1506, allocations: 213 kB / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.911e-05/0.1507, allocations: 31.86 kB / 0.6619 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.1507, allocations: 7.984 kB / 0.6619 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.987e-05/0.1508, allocations: 11.94 kB / 0.6619 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.1509, allocations: 15.92 kB / 0.6619 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.876e-06/0.1509, allocations: 0 / 0.6619 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005468/0.1514, allocations: 419.5 kB / 0.6623 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.1515, allocations: 8 kB / 0.6623 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.1515, allocations: 11.92 kB / 0.6623 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.1518, allocations: 194.4 kB / 0.6625 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1518, allocations: 0 / 0.6625 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1518, allocations: 4 kB / 0.6625 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.1518, allocations: 0 / 0.6625 GB, free: 10.6 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004338/0.1522, allocations: 388.2 kB / 0.6629 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1523, allocations: 12.02 kB / 0.6629 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.1523, allocations: 34.75 kB / 0.6629 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.1524, allocations: 4.844 kB / 0.6629 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1525, allocations: 168.4 kB / 0.6631 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.1525, allocations: 4.125 kB / 0.6631 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1525, allocations: 0 / 0.6631 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.215e-05/0.1526, allocations: 45.69 kB / 0.6632 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1526, allocations: 0 / 0.6632 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.1526, allocations: 0 / 0.6632 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.1526, allocations: 0 / 0.6632 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.593e-05/0.1527, allocations: 19.92 kB / 0.6632 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.1528, allocations: 157.7 kB / 0.6633 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.937e-05/0.1529, allocations: 42.5 kB / 0.6634 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.153, allocations: 20.89 kB / 0.6634 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008792/0.1538, allocations: 0.9817 MB / 0.6643 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.1539, allocations: 38.55 kB / 0.6644 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1539, allocations: 0 / 0.6644 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001614/0.1541, allocations: 61.53 kB / 0.6644 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.1541, allocations: 51.41 kB / 0.6645 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.1542, allocations: 109.8 kB / 0.6646 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1542, allocations: 29.7 kB / 0.6646 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.1542, allocations: 80.14 kB / 0.6647 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.1543, allocations: 15.84 kB / 0.6647 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.1543, allocations: 25.64 kB / 0.6647 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1544, allocations: 314.8 kB / 0.665 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.1544, allocations: 4 kB / 0.665 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.1544, allocations: 7.984 kB / 0.665 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.239e-05/0.1545, allocations: 24.8 kB / 0.6651 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.1545, allocations: 3.938 kB / 0.6651 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.676e-05/0.1546, allocations: 57.59 kB / 0.6651 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1546, allocations: 6.5 kB / 0.6651 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1546, allocations: 0 / 0.6651 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1546, allocations: 4 kB / 0.6651 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1547, allocations: 12 kB / 0.6651 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1548, allocations: 0 / 0.6651 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.1548, allocations: 4 kB / 0.6652 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1548, allocations: 3.984 kB / 0.6652 GB, free: 7.453 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 6.237e-05/0.1549, allocations: 109.8 kB / 0.6653 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.1549, allocations: 4 kB / 0.6653 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.155, allocations: 65.44 kB / 0.6653 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.155, allocations: 0 / 0.6653 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.155, allocations: 4 kB / 0.6653 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.155, allocations: 0 / 0.6653 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.1552, allocations: 169.6 kB / 0.6655 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1552, allocations: 4 kB / 0.6655 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-05/0.1552, allocations: 12 kB / 0.6655 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1553, allocations: 0 / 0.6655 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1553, allocations: 0 / 0.6655 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1553, allocations: 4 kB / 0.6655 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1553, allocations: 3.984 kB / 0.6655 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.273e-05/0.1554, allocations: 81 kB / 0.6656 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.1554, allocations: 81.02 kB / 0.6657 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.1554, allocations: 4 kB / 0.6657 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.353e-05/0.1555, allocations: 4 kB / 0.6657 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.1555, allocations: 432 / 0.6657 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1555, allocations: 0 / 0.6657 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.803e-05/0.1555, allocations: 91.27 kB / 0.6658 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1555, allocations: 0 / 0.6658 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002254/0.1558, allocations: 35.94 kB / 0.6658 GB, free: 6.68 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.0004585/0.1562, allocations: 0.6747 MB / 0.6665 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.1563, allocations: 23.98 kB / 0.6665 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1563, allocations: 0 / 0.6665 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.1564, allocations: 8 kB / 0.6665 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.1566, allocations: 19.05 kB / 0.6665 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.157, allocations: 193.8 kB / 0.6667 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.1573, allocations: 0.6807 MB / 0.6674 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.801e-05/0.1573, allocations: 3 kB / 0.6674 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.1574, allocations: 15.42 kB / 0.6674 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1574, allocations: 4 kB / 0.6674 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.1767, allocations: 2.178 MB / 0.6695 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.365/7.542, allocations: 10.41 kB / 0.6695 GB, free: 3.008 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)