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.001335/0.001335, allocations: 106.9 kB / 15.99 MB, free: 6.332 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.001357/0.001358, allocations: 197.2 kB / 16.91 MB, free: 6.18 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.238/1.238, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6708/0.6708, allocations: 115.3 MB / 406.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.91 kB / 493.3 MB, free: 0.5547 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2891, allocations: 76.17 MB / 0.5561 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002252/0.2913, allocations: 1.4 MB / 0.5574 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2926, allocations: 1.082 MB / 0.5585 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.2926, allocations: 0 / 0.5585 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.2927, allocations: 2.312 kB / 0.5585 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.421e-05/0.2927, allocations: 10.14 kB / 0.5585 GB, free: 33.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.2932, allocations: 195.1 kB / 0.5587 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.379e-05/0.2933, allocations: 32.67 kB / 0.5587 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.2933, allocations: 3.172 kB / 0.5587 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.893e-05/0.2934, allocations: 9.203 kB / 0.5587 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.2934, allocations: 16.8 kB / 0.5588 GB, free: 33.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.2935, allocations: 1.5 kB / 0.5588 GB, free: 33.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.2939, allocations: 424.9 kB / 0.5592 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.294, allocations: 9.938 kB / 0.5592 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.294, allocations: 14.62 kB / 0.5592 GB, free: 33.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.2942, allocations: 202 kB / 0.5594 GB, free: 33.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2943, allocations: 1.875 kB / 0.5594 GB, free: 33.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2943, allocations: 0 / 0.5594 GB, free: 33.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2943, allocations: 0 / 0.5594 GB, free: 33.54 MB / 446.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.0003356/0.2946, allocations: 385.5 kB / 0.5598 GB, free: 33.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2947, allocations: 9.219 kB / 0.5598 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.859e-05/0.2947, allocations: 34.25 kB / 0.5598 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.2947, allocations: 10.75 kB / 0.5598 GB, free: 33.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.226e-05/0.2948, allocations: 168.7 kB / 0.56 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2948, allocations: 2.625 kB / 0.56 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.2948, allocations: 1.812 kB / 0.56 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.254e-05/0.2949, allocations: 43.47 kB / 0.56 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.2949, allocations: 0.75 kB / 0.56 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.2949, allocations: 3.938 kB / 0.56 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2949, allocations: 2.938 kB / 0.56 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.106e-05/0.295, allocations: 9.141 kB / 0.56 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.2951, allocations: 167 kB / 0.5602 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.515e-05/0.2952, allocations: 37.91 kB / 0.5602 GB, free: 32.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.2952, allocations: 18.62 kB / 0.5602 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006889/0.2959, allocations: 0.9889 MB / 0.5612 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.2959, allocations: 35.62 kB / 0.5612 GB, free: 31.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.296, allocations: 2.062 kB / 0.5612 GB, free: 31.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001454/0.2961, allocations: 60.22 kB / 0.5613 GB, free: 31.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.826e-05/0.2961, allocations: 52.91 kB / 0.5613 GB, free: 31.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.719e-05/0.2962, allocations: 105.5 kB / 0.5615 GB, free: 31.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.2962, allocations: 28.3 kB / 0.5615 GB, free: 31.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.781e-05/0.2962, allocations: 86.55 kB / 0.5616 GB, free: 31.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.2962, allocations: 10.62 kB / 0.5616 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.2963, allocations: 17.41 kB / 0.5616 GB, free: 31.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.2963, allocations: 320.4 kB / 0.5619 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.2963, allocations: 4.031 kB / 0.5619 GB, free: 30.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/0.2964, allocations: 8.203 kB / 0.5619 GB, free: 30.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.2964, allocations: 24.67 kB / 0.5619 GB, free: 30.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2964, allocations: 0 / 0.5619 GB, free: 30.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.824e-05/0.2965, allocations: 53.91 kB / 0.562 GB, free: 30.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2965, allocations: 6.875 kB / 0.562 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.2965, allocations: 0.7812 kB / 0.562 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.2965, allocations: 1.531 kB / 0.562 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.2966, allocations: 13.72 kB / 0.562 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2967, allocations: 1.344 kB / 0.562 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.2967, allocations: 7.531 kB / 0.562 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2967, allocations: 6.234 kB / 0.562 GB, free: 30.72 MB / 446.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 4.261e-05/0.2967, allocations: 120.1 kB / 0.5621 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.2968, allocations: 10.92 kB / 0.5621 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.2969, allocations: 62.78 kB / 0.5622 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2969, allocations: 0.6562 kB / 0.5622 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.2969, allocations: 1.5 kB / 0.5622 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2969, allocations: 0.9844 kB / 0.5622 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.552e-05/0.297, allocations: 164.1 kB / 0.5624 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.297, allocations: 0.5625 kB / 0.5624 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.428e-05/0.297, allocations: 18.39 kB / 0.5624 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.2971, allocations: 1.812 kB / 0.5624 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2971, allocations: 4.781 kB / 0.5624 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2971, allocations: 0 / 0.5624 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2971, allocations: 2.188 kB / 0.5624 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.815e-05/0.2972, allocations: 74.41 kB / 0.5625 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.2972, allocations: 87.69 kB / 0.5625 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.2972, allocations: 6.047 kB / 0.5625 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.281e-05/0.2972, allocations: 2.562 kB / 0.5625 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.2973, allocations: 2.469 kB / 0.5626 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.2973, allocations: 1.656 kB / 0.5626 GB, free: 30.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.369e-05/0.2973, allocations: 86.25 kB / 0.5626 GB, free: 30.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2973, allocations: 0 / 0.5626 GB, free: 30.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.2975, allocations: 42.19 kB / 0.5627 GB, free: 30.07 MB / 446.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.0003301/0.2978, allocations: 0.6646 MB / 0.5633 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.505e-05/0.2979, allocations: 25.75 kB / 0.5633 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.298, allocations: 1.625 kB / 0.5634 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.892e-05/0.298, allocations: 8.062 kB / 0.5634 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.2982, allocations: 10.05 kB / 0.5634 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.2986, allocations: 209.5 kB / 0.5636 GB, free: 29.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.351e-05/0.2987, allocations: 0.6794 MB / 0.5642 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.225e-05/0.2987, allocations: 11.3 kB / 0.5642 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.2987, allocations: 17.55 kB / 0.5643 GB, free: 28.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2988, allocations: 0 / 0.5643 GB, free: 28.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.935/2.234, allocations: 2.076 MB / 0.5663 GB, free: 28.36 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/2.234, allocations: 294.7 kB / 0.5666 GB, free: 27.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/3.959, allocations: 5 kB / 0.5666 GB, free: 27.98 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)