Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildSysPro_BuildSysPro_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.001053/0.001053, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001174/0.001174, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9703/0.9703, allocations: 143.3 MB / 434.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 8 kB / 0.516 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2099, allocations: 83.42 MB / 0.5974 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.0016/0.2115, allocations: 1.055 MB / 0.5985 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.2132, allocations: 0.9833 MB / 0.5994 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.2132, allocations: 4 kB / 0.5994 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.2133, allocations: 0 / 0.5994 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.944e-05/0.2133, allocations: 11.98 kB / 0.5994 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.2138, allocations: 151.5 kB / 0.5996 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.2139, allocations: 11.98 kB / 0.5996 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.2139, allocations: 0 / 0.5996 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.571e-05/0.214, allocations: 27.84 kB / 0.5996 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.2141, allocations: 19.92 kB / 0.5996 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.2141, allocations: 4 kB / 0.5996 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005966/0.2147, allocations: 395.4 kB / 0.6 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.879e-06/0.2148, allocations: 4 kB / 0.6 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.2148, allocations: 29.7 kB / 0.6 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.215, allocations: 140 kB / 0.6002 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.215, allocations: 0 / 0.6002 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.963e-06/0.215, allocations: 0 / 0.6002 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.215, allocations: 0 / 0.6002 GB, free: 4.809 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.0004461/0.2155, allocations: 383.2 kB / 0.6005 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2155, allocations: 8.031 kB / 0.6006 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.2156, allocations: 34.56 kB / 0.6006 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.2156, allocations: 11.86 kB / 0.6006 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.2157, allocations: 163.1 kB / 0.6008 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2158, allocations: 4 kB / 0.6008 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.2158, allocations: 0 / 0.6008 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.2159, allocations: 45.67 kB / 0.6008 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.2159, allocations: 3.938 kB / 0.6008 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2159, allocations: 0 / 0.6008 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.2159, allocations: 4 kB / 0.6008 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/0.216, allocations: 15.89 kB / 0.6008 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.2162, allocations: 165.7 kB / 0.601 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.727e-05/0.2163, allocations: 38.59 kB / 0.601 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009616/0.2172, allocations: 0.9857 MB / 0.602 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.2173, allocations: 30.56 kB / 0.602 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.2173, allocations: 0 / 0.602 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001776/0.2175, allocations: 61.62 kB / 0.6021 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.2175, allocations: 59.39 kB / 0.6021 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.2176, allocations: 101.9 kB / 0.6022 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2176, allocations: 25.7 kB / 0.6022 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.2177, allocations: 84.12 kB / 0.6023 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.2177, allocations: 23.75 kB / 0.6023 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.2177, allocations: 0 / 0.6023 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.2178, allocations: 314.8 kB / 0.6026 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.2179, allocations: 11.98 kB / 0.6027 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.2179, allocations: 4 kB / 0.6027 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.55e-05/0.2179, allocations: 12 kB / 0.6027 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2179, allocations: 0 / 0.6027 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.083e-05/0.218, allocations: 57.53 kB / 0.6027 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.218, allocations: 8 kB / 0.6027 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.218, allocations: 0 / 0.6027 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2181, allocations: 3.938 kB / 0.6027 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.2182, allocations: 12 kB / 0.6028 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2182, allocations: 0 / 0.6028 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.2182, allocations: 3.984 kB / 0.6028 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.2182, allocations: 4 kB / 0.6028 GB, free: 1.719 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.633e-05/0.2183, allocations: 113.8 kB / 0.6029 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.2184, allocations: 0 / 0.6029 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.2185, allocations: 64.77 kB / 0.6029 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2185, allocations: 4 kB / 0.6029 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2185, allocations: 384 / 0.6029 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2185, allocations: 0 / 0.6029 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.2187, allocations: 181.5 kB / 0.6031 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2187, allocations: 0 / 0.6031 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.2188, allocations: 16 kB / 0.6031 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.2188, allocations: 3.984 kB / 0.6031 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.2188, allocations: 0 / 0.6031 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2188, allocations: 3.984 kB / 0.6031 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2188, allocations: 0 / 0.6031 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.2189, allocations: 73.08 kB / 0.6032 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.219, allocations: 85.11 kB / 0.6033 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.219, allocations: 3.938 kB / 0.6033 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.443e-05/0.219, allocations: 4 kB / 0.6033 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.219, allocations: 0 / 0.6033 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.219, allocations: 4 kB / 0.6033 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.2191, allocations: 87.27 kB / 0.6034 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2191, allocations: 0 / 0.6034 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002343/0.2193, allocations: 39.94 kB / 0.6034 GB, free: 0.9414 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005522/0.2199, allocations: 0.6631 MB / 0.6041 GB, free: 256 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.22, allocations: 27.92 kB / 0.6041 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.22, allocations: 0 / 0.6041 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.165e-05/0.2201, allocations: 8 kB / 0.6041 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.2203, allocations: 7.984 kB / 0.6041 GB, free: 212 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3389/0.5592, allocations: 217.2 kB / 0.6043 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.5594, allocations: 0.6827 MB / 0.605 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.832e-05/0.5596, allocations: 5.031 kB / 0.605 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.699e-05/0.5596, allocations: 11.06 kB / 0.605 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of SimCode: time 1.292e-06/0.5597, allocations: 1.75 kB / 0.605 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.5774, allocations: 1.964 MB / 0.6069 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003044/0.5778, allocations: 275 kB / 0.6072 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.273, allocations: 4 kB / 0.6072 GB, free: 39.84 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) Environment - environmentSimulation: