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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004716/0.004716, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.00127/0.00127, allocations: 197.8 kB / 16.68 MB, free: 5.969 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9573/0.9573, allocations: 135.6 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.88 kB / 0.5858 GB, free: 3.16 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3622, allocations: 81.02 MB / 0.6649 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001931/0.3642, allocations: 1.341 MB / 0.6663 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3655, allocations: 1.071 MB / 0.6673 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.3655, allocations: 4 kB / 0.6673 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.3655, allocations: 0 / 0.6673 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.183e-05/0.3656, allocations: 5.469 kB / 0.6673 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.3661, allocations: 221.5 kB / 0.6675 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.596e-05/0.3662, allocations: 29.92 kB / 0.6675 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.3662, allocations: 10.56 kB / 0.6676 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.646e-05/0.3663, allocations: 17.58 kB / 0.6676 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.3664, allocations: 14.33 kB / 0.6676 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.669e-06/0.3664, allocations: 1.344 kB / 0.6676 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005258/0.3669, allocations: 423.5 kB / 0.668 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.3669, allocations: 1.438 kB / 0.668 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.3669, allocations: 20.98 kB / 0.668 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.3672, allocations: 193 kB / 0.6682 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3672, allocations: 0 / 0.6682 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3672, allocations: 0 / 0.6682 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.3672, allocations: 5.75 kB / 0.6682 GB, free: 4.426 MB / 0.4981 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.0003206/0.3676, allocations: 385.1 kB / 0.6686 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3676, allocations: 9.688 kB / 0.6686 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.594e-05/0.3676, allocations: 36.19 kB / 0.6686 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.243e-05/0.3677, allocations: 6.328 kB / 0.6686 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.327e-05/0.3677, allocations: 167.1 kB / 0.6688 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3677, allocations: 4.125 kB / 0.6688 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.3678, allocations: 1.312 kB / 0.6688 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.533e-05/0.3678, allocations: 48.16 kB / 0.6688 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3679, allocations: 0 / 0.6688 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.3679, allocations: 1.125 kB / 0.6688 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3679, allocations: 0 / 0.6688 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.446e-05/0.3679, allocations: 7.938 kB / 0.6688 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.368, allocations: 160.8 kB / 0.669 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.885e-05/0.3681, allocations: 42.14 kB / 0.669 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.3682, allocations: 15.48 kB / 0.6691 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/0.3688, allocations: 0.9866 MB / 0.67 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.3688, allocations: 47.58 kB / 0.6701 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3688, allocations: 0 / 0.6701 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001453/0.369, allocations: 56.95 kB / 0.6701 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.369, allocations: 52.97 kB / 0.6702 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.311e-05/0.3691, allocations: 105.8 kB / 0.6703 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.3691, allocations: 29.69 kB / 0.6703 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.708e-05/0.3691, allocations: 85.42 kB / 0.6704 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.3691, allocations: 13.22 kB / 0.6704 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.3691, allocations: 17.97 kB / 0.6704 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.512e-05/0.3692, allocations: 320.3 kB / 0.6707 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.3692, allocations: 8.25 kB / 0.6707 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.3692, allocations: 7.844 kB / 0.6707 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.156e-05/0.3693, allocations: 19.64 kB / 0.6707 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3693, allocations: 3.938 kB / 0.6707 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.826e-05/0.3694, allocations: 53.05 kB / 0.6708 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3694, allocations: 9.312 kB / 0.6708 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3694, allocations: 0 / 0.6708 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3694, allocations: 1.75 kB / 0.6708 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3695, allocations: 18.55 kB / 0.6708 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.3695, allocations: 1.5 kB / 0.6708 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.3695, allocations: 11.95 kB / 0.6708 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3696, allocations: 1.406 kB / 0.6708 GB, free: 1.496 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.3696, allocations: 116.2 kB / 0.671 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.3696, allocations: 1.25 kB / 0.671 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.3697, allocations: 62.36 kB / 0.671 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3697, allocations: 0 / 0.671 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3697, allocations: 5.75 kB / 0.671 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3698, allocations: 0 / 0.671 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.266e-05/0.3698, allocations: 163.5 kB / 0.6712 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3698, allocations: 1.312 kB / 0.6712 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.392e-05/0.3699, allocations: 16.17 kB / 0.6712 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3699, allocations: 0 / 0.6712 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3699, allocations: 4 kB / 0.6712 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3699, allocations: 1.406 kB / 0.6712 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3699, allocations: 3.938 kB / 0.6712 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.973e-05/0.37, allocations: 81.3 kB / 0.6713 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.37, allocations: 83.8 kB / 0.6714 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.3701, allocations: 0 / 0.6714 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.217e-05/0.3701, allocations: 4 kB / 0.6714 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.3701, allocations: 6.703 kB / 0.6714 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.3701, allocations: 1.969 kB / 0.6714 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.195e-05/0.3701, allocations: 79.62 kB / 0.6714 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3701, allocations: 0 / 0.6714 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002273/0.3704, allocations: 43.83 kB / 0.6715 GB, free: 0.8242 MB / 0.4981 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 (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.0003374/0.3707, allocations: 0.6693 MB / 0.6721 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.88e-05/0.3708, allocations: 21.42 kB / 0.6722 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.3708, allocations: 0 / 0.6722 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.143e-05/0.3709, allocations: 12.5 kB / 0.6722 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.3711, allocations: 13.5 kB / 0.6722 GB, free: 176 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.3715, allocations: 196.4 kB / 0.6724 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.3718, allocations: 0.679 MB / 0.673 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.333e-05/0.3718, allocations: 8.422 kB / 0.673 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.3718, allocations: 13.84 kB / 0.6731 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.3718, allocations: 4 kB / 0.6731 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.3942, allocations: 2.167 MB / 0.6752 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.358, allocations: 12.69 kB / 0.6752 GB, free: 14.18 MB / 0.5137 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/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)