Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_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.001072/0.001072, allocations: 100.1 kB / 15.88 MB, free: 12 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.001125/0.001125, allocations: 209.8 kB / 16.79 MB, free: 6.84 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.242/1.242, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6319/0.6319, allocations: 115.3 MB / 405.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 71.97 kB / 493.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1175, allocations: 76.18 MB / 0.5559 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002091/0.1196, allocations: 1.409 MB / 0.5573 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1211, allocations: 1.123 MB / 0.5584 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.515e-05/0.1211, allocations: 0 / 0.5584 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.1211, allocations: 3.938 kB / 0.5584 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.1212, allocations: 11.92 kB / 0.5584 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.1216, allocations: 150.9 kB / 0.5585 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.722e-05/0.1216, allocations: 31.8 kB / 0.5586 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.1217, allocations: 4 kB / 0.5586 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.693e-05/0.1217, allocations: 15.92 kB / 0.5586 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.103e-05/0.1218, allocations: 15.92 kB / 0.5586 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.1218, allocations: 0 / 0.5586 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005029/0.1223, allocations: 427.5 kB / 0.559 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-06/0.1223, allocations: 3.938 kB / 0.559 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.1224, allocations: 11.94 kB / 0.559 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.1226, allocations: 199.9 kB / 0.5592 GB, free: 7.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1226, allocations: 4 kB / 0.5592 GB, free: 7.262 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1226, allocations: 0 / 0.5592 GB, free: 7.262 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.1226, allocations: 0 / 0.5592 GB, free: 7.262 MB / 430.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.0003793/0.123, allocations: 387.4 kB / 0.5596 GB, free: 6.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1231, allocations: 8.031 kB / 0.5596 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.878e-05/0.1231, allocations: 42.62 kB / 0.5596 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.196e-05/0.1231, allocations: 4.844 kB / 0.5596 GB, free: 6.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.608e-05/0.1232, allocations: 168.4 kB / 0.5598 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.1232, allocations: 384 / 0.5598 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-06/0.1233, allocations: 4.375 kB / 0.5598 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.256e-05/0.1233, allocations: 41.83 kB / 0.5598 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1234, allocations: 0 / 0.5598 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1234, allocations: 3.984 kB / 0.5598 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1234, allocations: 0 / 0.5598 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.1234, allocations: 12 kB / 0.5599 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.1236, allocations: 165.5 kB / 0.56 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.045e-05/0.1236, allocations: 42.59 kB / 0.5601 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.179e-05/0.1237, allocations: 16.89 kB / 0.5601 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000821/0.1245, allocations: 0.9934 MB / 0.561 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.1245, allocations: 38.5 kB / 0.5611 GB, free: 4.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.1246, allocations: 0 / 0.5611 GB, free: 4.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001428/0.1247, allocations: 57.62 kB / 0.5611 GB, free: 4.898 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.1247, allocations: 51.41 kB / 0.5612 GB, free: 4.836 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.154e-05/0.1248, allocations: 105.8 kB / 0.5613 GB, free: 4.723 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.1248, allocations: 33.64 kB / 0.5613 GB, free: 4.684 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.1248, allocations: 84.14 kB / 0.5614 GB, free: 4.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.1249, allocations: 19.75 kB / 0.5614 GB, free: 4.578 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.1249, allocations: 13.72 kB / 0.5614 GB, free: 4.559 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.125, allocations: 318.8 kB / 0.5617 GB, free: 4.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.125, allocations: 4 kB / 0.5617 GB, free: 4.234 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.125, allocations: 8 kB / 0.5617 GB, free: 4.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.1251, allocations: 20.84 kB / 0.5618 GB, free: 4.203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1251, allocations: 0 / 0.5618 GB, free: 4.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.38e-05/0.1252, allocations: 57.58 kB / 0.5618 GB, free: 4.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.1252, allocations: 4 kB / 0.5618 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1252, allocations: 4 kB / 0.5618 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1252, allocations: 7.984 kB / 0.5618 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1253, allocations: 8 kB / 0.5618 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1253, allocations: 4 kB / 0.5618 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.1254, allocations: 0 / 0.5618 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1254, allocations: 3.938 kB / 0.5619 GB, free: 4.109 MB / 430.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 (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.04e-05/0.1254, allocations: 109.8 kB / 0.562 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.1254, allocations: 7.844 kB / 0.562 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.1256, allocations: 69.52 kB / 0.562 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1256, allocations: 0 / 0.562 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1256, allocations: 0 / 0.562 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1256, allocations: 4 kB / 0.562 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.44e-05/0.1257, allocations: 161.7 kB / 0.5622 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1257, allocations: 0 / 0.5622 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.709e-05/0.1258, allocations: 19.92 kB / 0.5622 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1258, allocations: 0 / 0.5622 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1258, allocations: 4 kB / 0.5622 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1258, allocations: 0 / 0.5622 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1258, allocations: 0 / 0.5622 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.908e-05/0.1259, allocations: 73.5 kB / 0.5623 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.1259, allocations: 92.89 kB / 0.5624 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.1259, allocations: 7.984 kB / 0.5624 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.271e-05/0.126, allocations: 0 / 0.5624 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.126, allocations: 4.031 kB / 0.5624 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.126, allocations: 4 kB / 0.5624 GB, free: 3.457 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.294e-05/0.126, allocations: 83.59 kB / 0.5625 GB, free: 3.375 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.126, allocations: 4 kB / 0.5625 GB, free: 3.371 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.1263, allocations: 43.92 kB / 0.5625 GB, free: 3.328 MB / 430.1 MB 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.0004168/0.1267, allocations: 0.6554 MB / 0.5632 GB, free: 2.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.1268, allocations: 27.86 kB / 0.5632 GB, free: 2.617 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1268, allocations: 0 / 0.5632 GB, free: 2.617 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.946e-05/0.1268, allocations: 12 kB / 0.5632 GB, free: 2.605 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.127, allocations: 9.766 kB / 0.5632 GB, free: 2.598 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.1274, allocations: 215.4 kB / 0.5634 GB, free: 2.348 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.1276, allocations: 0.6848 MB / 0.5641 GB, free: 1.637 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.788e-05/0.1276, allocations: 0 / 0.5641 GB, free: 1.637 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.1277, allocations: 11.44 kB / 0.5641 GB, free: 1.625 MB / 430.1 MB Notification: Performance of SimCode: time 2e-07/0.1277, allocations: 0 / 0.5641 GB, free: 1.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.1382, allocations: 2.037 MB / 0.5661 GB, free: 15.81 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/0.1385, allocations: 295.5 kB / 0.5664 GB, free: 15.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/1.765, allocations: 0 / 0.5664 GB, free: 15.43 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)