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.01593/0.01593, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.814/0.814, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.2 MB / 406.8 MB, free: 3.137 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.0009814/0.0009813, allocations: 99.98 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003882, allocations: 16 kB / 0.5692 GB, free: 13.99 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4205, allocations: 82.3 MB / 0.6496 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.5776, allocations: 115.8 MB / 0.7626 GB, free: 228 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.5779, allocations: 111.9 kB / 0.7627 GB, free: 116 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01839/0.5963, allocations: 6.303 MB / 0.7689 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5964, allocations: 0 / 0.7689 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.5964, allocations: 0 / 0.7689 GB, free: 9.805 MB / 0.5417 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.000486/0.5969, allocations: 399.1 kB / 0.7693 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.5969, allocations: 8.031 kB / 0.7693 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.597, allocations: 34.56 kB / 0.7693 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.597, allocations: 3.906 kB / 0.7693 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.5972, allocations: 171 kB / 0.7695 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.5972, allocations: 0 / 0.7695 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.5972, allocations: 7.938 kB / 0.7695 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.5973, allocations: 41.69 kB / 0.7695 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5973, allocations: 3.938 kB / 0.7695 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.5974, allocations: 0 / 0.7695 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5974, allocations: 0 / 0.7695 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.022e-05/0.5974, allocations: 8 kB / 0.7695 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.5976, allocations: 169.6 kB / 0.7697 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.5977, allocations: 42.5 kB / 0.7697 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.5989, allocations: 0.9857 MB / 0.7707 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.5989, allocations: 30.56 kB / 0.7707 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.599, allocations: 4 kB / 0.7707 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002446/0.5992, allocations: 57.69 kB / 0.7708 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.5993, allocations: 51.41 kB / 0.7708 GB, free: 7.398 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.5994, allocations: 96.98 kB / 0.7709 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.5994, allocations: 29.7 kB / 0.771 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.5995, allocations: 88.12 kB / 0.771 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/0.5995, allocations: 11.81 kB / 0.7711 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.5996, allocations: 3.938 kB / 0.7711 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002316/0.5998, allocations: 318.8 kB / 0.7714 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/0.5998, allocations: 4 kB / 0.7714 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/0.5998, allocations: 8 kB / 0.7714 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.5999, allocations: 8 kB / 0.7714 GB, free: 6.816 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5999, allocations: 3.953 kB / 0.7714 GB, free: 6.812 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.461e-05/0.6, allocations: 53.59 kB / 0.7714 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.6, allocations: 5.094 kB / 0.7714 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6, allocations: 0 / 0.7714 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.6001, allocations: 336 / 0.7714 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.6002, allocations: 15.98 kB / 0.7715 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.6002, allocations: 4 kB / 0.7715 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.6003, allocations: 4 kB / 0.7715 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.6003, allocations: 4 kB / 0.7715 GB, free: 6.723 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.6004, allocations: 109.8 kB / 0.7716 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.6004, allocations: 7.953 kB / 0.7716 GB, free: 6.598 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.6006, allocations: 65.56 kB / 0.7716 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6006, allocations: 0 / 0.7716 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.6006, allocations: 0 / 0.7716 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6006, allocations: 0 / 0.7716 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.6008, allocations: 169.6 kB / 0.7718 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6008, allocations: 0 / 0.7718 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.6009, allocations: 19.94 kB / 0.7718 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6009, allocations: 0 / 0.7718 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.6009, allocations: 4 kB / 0.7718 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.6009, allocations: 0 / 0.7718 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/0.6009, allocations: 3.938 kB / 0.7718 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.6011, allocations: 77 kB / 0.7719 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.922e-05/0.6012, allocations: 89.05 kB / 0.772 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.6012, allocations: 3.953 kB / 0.772 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.571e-05/0.6012, allocations: 4 kB / 0.772 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.6012, allocations: 7.984 kB / 0.772 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.6013, allocations: 0 / 0.772 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.287e-05/0.6013, allocations: 79.28 kB / 0.7721 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6013, allocations: 0 / 0.7721 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003143/0.6016, allocations: 51.92 kB / 0.7721 GB, free: 5.934 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 () * 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 (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.0007346/0.6024, allocations: 0.6708 MB / 0.7728 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.6025, allocations: 16 kB / 0.7728 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6025, allocations: 0 / 0.7728 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.391e-05/0.6026, allocations: 15.92 kB / 0.7728 GB, free: 5.203 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.6028, allocations: 7.953 kB / 0.7728 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006435/0.6035, allocations: 228 kB / 0.773 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.6039, allocations: 0.6809 MB / 0.7737 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.298e-05/0.604, allocations: 7.625 kB / 0.7737 GB, free: 4.219 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.604, allocations: 15.42 kB / 0.7737 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.604, allocations: 4 kB / 0.7737 GB, free: 4.199 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.6196, allocations: 1.879 MB / 0.7756 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.6198, allocations: 253.8 kB / 0.7758 GB, free: 2.227 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.406, allocations: 6.984 kB / 0.7758 GB, free: 2.223 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)