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.001114/0.001113, allocations: 97.83 kB / 16.4 MB, free: 6.438 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.001147/0.001147, allocations: 195.8 kB / 17.34 MB, free: 5.73 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.692/0.692, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 65.19 kB / 0.5573 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1487, allocations: 76.18 MB / 0.6317 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002904/0.1517, allocations: 1.352 MB / 0.633 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.1536, allocations: 1.079 MB / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/0.1536, allocations: 0 / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.1537, allocations: 3.938 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.772e-05/0.1538, allocations: 7.922 kB / 0.634 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008202/0.1546, allocations: 217.6 kB / 0.6342 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.782e-05/0.1547, allocations: 31.86 kB / 0.6343 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.864e-05/0.1548, allocations: 3.984 kB / 0.6343 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.208e-05/0.1549, allocations: 19.92 kB / 0.6343 GB, free: 2.164 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.732e-05/0.1549, allocations: 15.92 kB / 0.6343 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.155, allocations: 4 kB / 0.6343 GB, free: 2.145 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006509/0.1556, allocations: 423.4 kB / 0.6347 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.1557, allocations: 11.92 kB / 0.6347 GB, free: 1.719 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.1557, allocations: 7.938 kB / 0.6347 GB, free: 1.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.1561, allocations: 201.3 kB / 0.6349 GB, free: 1.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1561, allocations: 4 kB / 0.6349 GB, free: 1.516 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1561, allocations: 0 / 0.6349 GB, free: 1.516 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1561, allocations: 3.938 kB / 0.6349 GB, free: 1.512 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.0005031/0.1566, allocations: 391.6 kB / 0.6353 GB, free: 1.082 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1567, allocations: 8.031 kB / 0.6353 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.1567, allocations: 34.75 kB / 0.6354 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.1567, allocations: 4.844 kB / 0.6354 GB, free: 1.027 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1569, allocations: 168.3 kB / 0.6355 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1569, allocations: 384 / 0.6355 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1569, allocations: 8.375 kB / 0.6355 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.157, allocations: 45.8 kB / 0.6356 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.157, allocations: 0 / 0.6356 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.157, allocations: 0 / 0.6356 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1571, allocations: 0 / 0.6356 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.868e-05/0.1571, allocations: 15.98 kB / 0.6356 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.1573, allocations: 161.6 kB / 0.6357 GB, free: 0.543 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.861e-05/0.1574, allocations: 46.55 kB / 0.6358 GB, free: 500 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.1574, allocations: 12.89 kB / 0.6358 GB, free: 484 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009776/0.1584, allocations: 0.9895 MB / 0.6368 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1585, allocations: 38.48 kB / 0.6368 GB, free: 15.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1585, allocations: 0 / 0.6368 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001913/0.1587, allocations: 53.7 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.1587, allocations: 55.39 kB / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.1588, allocations: 105.8 kB / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1588, allocations: 25.7 kB / 0.637 GB, free: 14.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.1588, allocations: 88.12 kB / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.1589, allocations: 19.75 kB / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.1589, allocations: 13.72 kB / 0.6371 GB, free: 14.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.159, allocations: 318.8 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.1591, allocations: 4 kB / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.735e-05/0.1591, allocations: 4 kB / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.067e-05/0.1591, allocations: 28.8 kB / 0.6375 GB, free: 14.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1591, allocations: 0 / 0.6375 GB, free: 14.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.396e-05/0.1592, allocations: 53.62 kB / 0.6375 GB, free: 14.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1593, allocations: 8 kB / 0.6375 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1593, allocations: 0 / 0.6375 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1593, allocations: 4 kB / 0.6375 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1594, allocations: 15.92 kB / 0.6376 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.1594, allocations: 4 kB / 0.6376 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.1595, allocations: 3.938 kB / 0.6376 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1595, allocations: 0 / 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.225e-05/0.1595, allocations: 109.8 kB / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.1596, allocations: 11.84 kB / 0.6377 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.1597, allocations: 65.91 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1597, allocations: 48 / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1597, allocations: 3.984 kB / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1597, allocations: 0 / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.1599, allocations: 161.7 kB / 0.6379 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1599, allocations: 0 / 0.6379 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.85e-05/0.16, allocations: 27.86 kB / 0.6379 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.16, allocations: 0 / 0.6379 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.16, allocations: 4 kB / 0.6379 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.16, allocations: 0 / 0.6379 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.16, allocations: 0 / 0.6379 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.1601, allocations: 77.12 kB / 0.638 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.1602, allocations: 84.95 kB / 0.6381 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1602, allocations: 4 kB / 0.6381 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.048e-05/0.1602, allocations: 0 / 0.6381 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.1602, allocations: 3.984 kB / 0.6381 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.1602, allocations: 0 / 0.6381 GB, free: 13.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.036e-05/0.1603, allocations: 87.28 kB / 0.6382 GB, free: 13.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1603, allocations: 4 kB / 0.6382 GB, free: 13.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1605, allocations: 39.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.0004866/0.161, allocations: 0.6631 MB / 0.6389 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.1611, allocations: 23.92 kB / 0.6389 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1611, allocations: 0 / 0.6389 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.286e-05/0.1612, allocations: 19.94 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.0001934/0.1614, allocations: 8.047 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.0005036/0.1619, allocations: 201.8 kB / 0.6391 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.1621, allocations: 0.6768 MB / 0.6398 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.633e-05/0.1622, allocations: 8 kB / 0.6398 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.1622, allocations: 19.38 kB / 0.6398 GB, free: 11.88 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1622, allocations: 0 / 0.6398 GB, free: 11.88 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.1824, allocations: 2.196 MB / 0.6419 GB, free: 9.895 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/7.48, allocations: 24.5 kB / 0.642 GB, free: 9.871 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)