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.001381/0.001381, allocations: 102.6 kB / 16.4 MB, free: 6.445 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.001383/0.001384, allocations: 195.9 kB / 17.34 MB, free: 5.707 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7513/0.7513, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.55 kB / 0.5573 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2003, allocations: 76.18 MB / 0.6317 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002554/0.2029, allocations: 1.344 MB / 0.633 GB, free: 3.535 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.2047, allocations: 1.079 MB / 0.634 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.2047, allocations: 3.938 kB / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.2047, allocations: 3.938 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.2048, allocations: 11.94 kB / 0.634 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006245/0.2054, allocations: 215.2 kB / 0.6343 GB, free: 2.215 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.051e-05/0.2055, allocations: 31.86 kB / 0.6343 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.2056, allocations: 4 kB / 0.6343 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.2056, allocations: 19.92 kB / 0.6343 GB, free: 2.16 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.2057, allocations: 19.92 kB / 0.6343 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.2057, allocations: 0 / 0.6343 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000584/0.2063, allocations: 423.4 kB / 0.6347 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.2063, allocations: 4 kB / 0.6347 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.2064, allocations: 15.92 kB / 0.6347 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.2067, allocations: 191 kB / 0.6349 GB, free: 1.523 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.2067, allocations: 4 kB / 0.6349 GB, free: 1.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2067, allocations: 0 / 0.6349 GB, free: 1.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.2067, allocations: 0 / 0.6349 GB, free: 1.52 MB / 478.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.0004745/0.2072, allocations: 399.6 kB / 0.6353 GB, free: 1.082 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.2073, allocations: 12.02 kB / 0.6353 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.2073, allocations: 30.75 kB / 0.6354 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.2073, allocations: 8.844 kB / 0.6354 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.2075, allocations: 160.4 kB / 0.6355 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.2075, allocations: 384 / 0.6355 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.2075, allocations: 8.312 kB / 0.6355 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.2076, allocations: 41.81 kB / 0.6356 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.2076, allocations: 0 / 0.6356 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.2076, allocations: 4 kB / 0.6356 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2076, allocations: 4 kB / 0.6356 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.755e-05/0.2077, allocations: 15.98 kB / 0.6356 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.2079, allocations: 157.6 kB / 0.6357 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.463e-05/0.208, allocations: 46.48 kB / 0.6358 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.208, allocations: 16.89 kB / 0.6358 GB, free: 484 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009523/0.209, allocations: 0.9856 MB / 0.6368 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.209, allocations: 38.5 kB / 0.6368 GB, free: 15.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.209, allocations: 0 / 0.6368 GB, free: 15.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000168/0.2092, allocations: 57.69 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.2092, allocations: 51.41 kB / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.027e-05/0.2093, allocations: 109.8 kB / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.2093, allocations: 25.7 kB / 0.637 GB, free: 14.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.2094, allocations: 84.14 kB / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.2094, allocations: 23.67 kB / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.2095, allocations: 21.66 kB / 0.6372 GB, free: 14.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2096, allocations: 314.8 kB / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.2096, allocations: 11.98 kB / 0.6375 GB, free: 14.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.2096, allocations: 4 kB / 0.6375 GB, free: 14.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/0.2097, allocations: 20.86 kB / 0.6375 GB, free: 14.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.2097, allocations: 0 / 0.6375 GB, free: 14.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.782e-05/0.2098, allocations: 53.62 kB / 0.6375 GB, free: 14.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2098, allocations: 7.938 kB / 0.6375 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2098, allocations: 0 / 0.6375 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2098, allocations: 0 / 0.6375 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.2099, allocations: 23.92 kB / 0.6376 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2099, allocations: 0 / 0.6376 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.21, allocations: 4 kB / 0.6376 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.21, allocations: 4 kB / 0.6376 GB, free: 14.36 MB / 494.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 7.057e-05/0.2101, allocations: 105.8 kB / 0.6377 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.2101, allocations: 11.84 kB / 0.6377 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.2102, allocations: 61.58 kB / 0.6377 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2102, allocations: 0 / 0.6377 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2102, allocations: 0 / 0.6377 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2102, allocations: 4 kB / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.2104, allocations: 161.7 kB / 0.6379 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2104, allocations: 0 / 0.6379 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.2105, allocations: 27.86 kB / 0.6379 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2105, allocations: 0 / 0.6379 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.2105, allocations: 0 / 0.6379 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2105, allocations: 0 / 0.6379 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2105, allocations: 4 kB / 0.6379 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.85e-05/0.2106, allocations: 69.5 kB / 0.638 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.2106, allocations: 84.95 kB / 0.6381 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.2107, allocations: 8 kB / 0.6381 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.309e-05/0.2107, allocations: 48 / 0.6381 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.2107, allocations: 7.984 kB / 0.6381 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.2107, allocations: 3.984 kB / 0.6381 GB, free: 13.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.787e-05/0.2108, allocations: 79.28 kB / 0.6382 GB, free: 13.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2108, allocations: 4 kB / 0.6382 GB, free: 13.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000236/0.211, allocations: 43.92 kB / 0.6382 GB, free: 13.58 MB / 494.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.0004984/0.2115, allocations: 0.6653 MB / 0.6389 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.2116, allocations: 20 kB / 0.6389 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2116, allocations: 0 / 0.6389 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.406e-05/0.2117, allocations: 19.86 kB / 0.6389 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.2119, allocations: 15.44 kB / 0.6389 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.2123, allocations: 197.8 kB / 0.6391 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.2126, allocations: 0.6807 MB / 0.6398 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.292e-05/0.2126, allocations: 6.375 kB / 0.6398 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.2127, allocations: 11.44 kB / 0.6398 GB, free: 11.88 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2127, allocations: 0 / 0.6398 GB, free: 11.88 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.2317, allocations: 2.201 MB / 0.6419 GB, free: 9.895 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.264, allocations: 17.16 kB / 0.642 GB, free: 9.883 MB / 494.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)