Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_IDEAS_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.002614/0.002614, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.49/1.49, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.889/2.889, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 100.5 kB / 478.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.426e-05/5.45e-05, allocations: 4 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.055, allocations: 82.31 MB / 0.634 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3018/1.357, allocations: 115 MB / 0.7463 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005259/1.357, allocations: 119.9 kB / 0.7464 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0281/1.385, allocations: 6.251 MB / 0.7525 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.857e-06/1.386, allocations: 0 / 0.7525 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.5e-05/1.386, allocations: 0 / 0.7525 GB, free: 1.293 MB / 0.5261 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.000956/1.387, allocations: 394.1 kB / 0.7529 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 9.852e-05/1.387, allocations: 8.031 kB / 0.7529 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.926e-05/1.387, allocations: 4 kB / 0.7529 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/1.387, allocations: 163 kB / 0.7531 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/1.387, allocations: 4 kB / 0.7531 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/1.387, allocations: 3.984 kB / 0.7531 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001355/1.387, allocations: 12 kB / 0.7531 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/1.387, allocations: 37.69 kB / 0.7531 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/1.387, allocations: 7.922 kB / 0.7531 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/1.387, allocations: 3.938 kB / 0.7531 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/1.388, allocations: 4 kB / 0.7531 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/1.388, allocations: 146.2 kB / 0.7533 GB, free: 404 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/1.388, allocations: 34.58 kB / 0.7533 GB, free: 360 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/1.388, allocations: 12.89 kB / 0.7533 GB, free: 344 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001612/1.39, allocations: 0.9818 MB / 0.7543 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/1.39, allocations: 34.56 kB / 0.7543 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 2.905e-06/1.39, allocations: 0 / 0.7543 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0003684/1.39, allocations: 53.59 kB / 0.7544 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/1.39, allocations: 55.34 kB / 0.7544 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/1.39, allocations: 101 kB / 0.7545 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/1.39, allocations: 25.7 kB / 0.7545 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/1.391, allocations: 80.14 kB / 0.7546 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/1.391, allocations: 19.75 kB / 0.7546 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/1.391, allocations: 0 / 0.7546 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002425/1.391, allocations: 318.8 kB / 0.7549 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/1.391, allocations: 11.94 kB / 0.755 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.489e-05/1.391, allocations: 4 kB / 0.755 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/1.391, allocations: 8 kB / 0.755 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.391, allocations: 0 / 0.755 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001908/1.391, allocations: 57.62 kB / 0.755 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/1.391, allocations: 8.781 kB / 0.755 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.391, allocations: 0 / 0.755 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.391, allocations: 0 / 0.755 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/1.392, allocations: 16 kB / 0.755 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.392, allocations: 3.938 kB / 0.755 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.184e-05/1.392, allocations: 0 / 0.755 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/1.392, allocations: 0 / 0.755 GB, free: 14.29 MB / 0.5417 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 () * 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 0.0001622/1.392, allocations: 109 kB / 0.7551 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001774/1.392, allocations: 57.55 kB / 0.7552 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/1.392, allocations: 0 / 0.7552 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/1.392, allocations: 65.95 kB / 0.7553 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.392, allocations: 0 / 0.7553 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.392, allocations: 4 kB / 0.7553 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/1.392, allocations: 0 / 0.7553 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/1.393, allocations: 138.2 kB / 0.7554 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.393, allocations: 0 / 0.7554 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/1.393, allocations: 19.94 kB / 0.7554 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/1.393, allocations: 0 / 0.7554 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/1.393, allocations: 288 / 0.7554 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/1.393, allocations: 0 / 0.7554 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/1.393, allocations: 7.938 kB / 0.7554 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/1.393, allocations: 81.02 kB / 0.7555 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/1.393, allocations: 77.11 kB / 0.7556 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/1.393, allocations: 7.953 kB / 0.7556 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-05/1.393, allocations: 0 / 0.7556 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/1.393, allocations: 3.984 kB / 0.7556 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/1.393, allocations: 4 kB / 0.7556 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.69e-05/1.393, allocations: 83.28 kB / 0.7557 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.002e-06/1.393, allocations: 3.938 kB / 0.7557 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004782/1.394, allocations: 51.86 kB / 0.7557 GB, free: 13.5 MB / 0.5417 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 () * 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.001049/1.395, allocations: 0.667 MB / 0.7564 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001395/1.395, allocations: 15.94 kB / 0.7564 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.395, allocations: 0 / 0.7564 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/1.395, allocations: 15.94 kB / 0.7564 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/1.395, allocations: 16.48 kB / 0.7564 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006506/1.396, allocations: 121.5 kB / 0.7565 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/1.397, allocations: 0.6806 MB / 0.7572 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.046e-05/1.397, allocations: 4 kB / 0.7572 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/1.397, allocations: 16.98 kB / 0.7572 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/1.397, allocations: 0 / 0.7572 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04198/1.439, allocations: 1.527 MB / 0.7587 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004401/1.439, allocations: 225.2 kB / 0.7589 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/4.32, allocations: 1.891 kB / 0.7589 GB, free: 10.1 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)