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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5063/0.5063, allocations: 90.92 MB / 99.35 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009512/0.0009511, allocations: 91.95 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.856e-05, allocations: 4 kB / 494.6 MB, free: 52.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1392, allocations: 72.31 MB / 0.5537 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5139/0.6531, allocations: 105.3 MB / 0.6565 GB, free: 4.801 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.6534, allocations: 114.6 kB / 0.6566 GB, free: 4.723 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0183/0.6717, allocations: 6.298 MB / 0.6627 GB, free: 15.45 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.6718, allocations: 4 kB / 0.6627 GB, free: 15.45 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.6718, allocations: 0 / 0.6627 GB, free: 15.45 MB / 474.7 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.0004678/0.6723, allocations: 394.3 kB / 0.6631 GB, free: 15.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.6723, allocations: 8.031 kB / 0.6631 GB, free: 15.01 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.6724, allocations: 11.95 kB / 0.6631 GB, free: 15 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.6725, allocations: 159.1 kB / 0.6633 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.6726, allocations: 3.938 kB / 0.6633 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.6726, allocations: 4 kB / 0.6633 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.301e-05/0.6727, allocations: 15.42 kB / 0.6633 GB, free: 14.79 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.493e-05/0.6727, allocations: 29.7 kB / 0.6633 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.6727, allocations: 0 / 0.6633 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.6728, allocations: 3.953 kB / 0.6633 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.6728, allocations: 0 / 0.6633 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.673, allocations: 153.8 kB / 0.6635 GB, free: 14.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.852e-05/0.6731, allocations: 41.3 kB / 0.6635 GB, free: 14.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.6731, allocations: 8.859 kB / 0.6635 GB, free: 14.51 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009094/0.674, allocations: 0.9855 MB / 0.6645 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.674, allocations: 30.56 kB / 0.6645 GB, free: 13.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.784e-06/0.6741, allocations: 0 / 0.6645 GB, free: 13.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002038/0.6743, allocations: 48.69 kB / 0.6646 GB, free: 13.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.6743, allocations: 51.41 kB / 0.6646 GB, free: 13.15 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.772e-05/0.6744, allocations: 100.1 kB / 0.6647 GB, free: 13.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.6744, allocations: 29.69 kB / 0.6647 GB, free: 13.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.6745, allocations: 87.27 kB / 0.6648 GB, free: 12.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.6745, allocations: 15.25 kB / 0.6648 GB, free: 12.92 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.6745, allocations: 0 / 0.6648 GB, free: 12.92 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.6746, allocations: 314.8 kB / 0.6651 GB, free: 12.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.6747, allocations: 4 kB / 0.6651 GB, free: 12.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.6747, allocations: 11.34 kB / 0.6651 GB, free: 12.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.6748, allocations: 11.98 kB / 0.6652 GB, free: 12.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6748, allocations: 0 / 0.6652 GB, free: 12.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001206/0.6749, allocations: 49.19 kB / 0.6652 GB, free: 12.53 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.6749, allocations: 8 kB / 0.6652 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6749, allocations: 0 / 0.6652 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.675, allocations: 7.984 kB / 0.6652 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.6751, allocations: 8 kB / 0.6652 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.6751, allocations: 4 kB / 0.6652 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.6751, allocations: 0 / 0.6652 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.6751, allocations: 3.938 kB / 0.6652 GB, free: 12.5 MB / 474.7 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 () * 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 7.755e-05/0.6752, allocations: 104.9 kB / 0.6653 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001051/0.6753, allocations: 61.08 kB / 0.6654 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-06/0.6753, allocations: 11.88 kB / 0.6654 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.6755, allocations: 60.28 kB / 0.6655 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.6755, allocations: 0 / 0.6655 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.6755, allocations: 3.984 kB / 0.6655 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6755, allocations: 3.938 kB / 0.6655 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.6756, allocations: 149.5 kB / 0.6656 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6756, allocations: 0 / 0.6656 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.6757, allocations: 12 kB / 0.6656 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6757, allocations: 0 / 0.6656 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.6757, allocations: 0 / 0.6656 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.6758, allocations: 7.984 kB / 0.6656 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6758, allocations: 0 / 0.6656 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.6759, allocations: 76.39 kB / 0.6657 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.676, allocations: 85.05 kB / 0.6658 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.676, allocations: 0 / 0.6658 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.676, allocations: 4 kB / 0.6658 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.676, allocations: 3.984 kB / 0.6658 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.676, allocations: 0 / 0.6658 GB, free: 11.85 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.179e-05/0.6761, allocations: 86.34 kB / 0.6659 GB, free: 11.77 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6761, allocations: 4 kB / 0.6659 GB, free: 11.76 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.6764, allocations: 43.94 kB / 0.6659 GB, free: 11.72 MB / 474.7 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 () * 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.0005678/0.6769, allocations: 0.6728 MB / 0.6666 GB, free: 11.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.235e-05/0.677, allocations: 19.7 kB / 0.6666 GB, free: 11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.677, allocations: 0 / 0.6666 GB, free: 11 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.051e-05/0.6771, allocations: 14.75 kB / 0.6666 GB, free: 10.99 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.6772, allocations: 10.28 kB / 0.6666 GB, free: 10.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.6776, allocations: 116.8 kB / 0.6667 GB, free: 10.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.6779, allocations: 0.6846 MB / 0.6674 GB, free: 10.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.093e-05/0.6779, allocations: 13.73 kB / 0.6674 GB, free: 10.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.678, allocations: 14.94 kB / 0.6674 GB, free: 10.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.678, allocations: 0 / 0.6674 GB, free: 10.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.701, allocations: 1.537 MB / 0.6689 GB, free: 8.609 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/0.7014, allocations: 229.8 kB / 0.6691 GB, free: 8.32 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.23, allocations: 4.391 kB / 0.6691 GB, free: 8.32 MB / 474.7 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/linux/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)