Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.005306/0.005306, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001441/0.001441, allocations: 201.7 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9547/0.9547, allocations: 135.6 MB / 426.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 71.89 kB / 0.5858 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3975, allocations: 81.02 MB / 0.6649 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003692/0.4012, allocations: 3.013 MB / 0.6679 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.4035, allocations: 2.14 MB / 0.67 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.4037, allocations: 5.5 kB / 0.67 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.405, allocations: 0.5087 MB / 0.6705 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.4052, allocations: 140.5 kB / 0.6706 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.4054, allocations: 61.5 kB / 0.6706 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.4058, allocations: 456.1 kB / 0.6711 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.406, allocations: 158.3 kB / 0.6712 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.4062, allocations: 152 kB / 0.6714 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.4064, allocations: 183.5 kB / 0.6716 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.4065, allocations: 34.31 kB / 0.6716 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.035e-05/0.4066, allocations: 34.62 kB / 0.6716 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.888e-05/0.4067, allocations: 98.5 kB / 0.6717 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.4069, allocations: 217.8 kB / 0.6719 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.4073, allocations: 0.5479 MB / 0.6725 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.4073, allocations: 1.281 kB / 0.6725 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4073, allocations: 3.984 kB / 0.6725 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.4073, allocations: 0 / 0.6725 GB, free: 1.043 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000895/0.4082, allocations: 0.7149 MB / 0.6732 GB, free: 420 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.4083, allocations: 10.56 kB / 0.6732 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.4083, allocations: 57.48 kB / 0.6732 GB, free: 360 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/0.4084, allocations: 49.33 kB / 0.6733 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.4089, allocations: 382.3 kB / 0.6736 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.409, allocations: 17.41 kB / 0.6737 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.409, allocations: 21.78 kB / 0.6737 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.4094, allocations: 201.8 kB / 0.6739 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.4095, allocations: 1.375 kB / 0.6739 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.4095, allocations: 5.219 kB / 0.6739 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.4095, allocations: 9.391 kB / 0.6739 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.4099, allocations: 168 kB / 0.674 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.4113, allocations: 0.8607 MB / 0.6749 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.4117, allocations: 160.5 kB / 0.675 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.4119, allocations: 108.9 kB / 0.6751 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.4119, allocations: 6.188 kB / 0.6751 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.412, allocations: 39.59 kB / 0.6752 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.914e-06/0.412, allocations: 1.156 kB / 0.6752 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006594/0.4127, allocations: 250.9 kB / 0.6754 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.4127, allocations: 53.94 kB / 0.6755 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/0.4133, allocations: 419.7 kB / 0.6759 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.4133, allocations: 27.05 kB / 0.6759 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.4135, allocations: 212.5 kB / 0.6761 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.4136, allocations: 67.67 kB / 0.6762 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.4137, allocations: 36.11 kB / 0.6762 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.4139, allocations: 347.5 kB / 0.6765 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.414, allocations: 57.02 kB / 0.6766 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.4142, allocations: 60.77 kB / 0.6766 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.4145, allocations: 138.2 kB / 0.6768 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4145, allocations: 0 / 0.6768 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004065/0.4149, allocations: 215.9 kB / 0.677 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.415, allocations: 4.625 kB / 0.677 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.415, allocations: 0 / 0.677 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.415, allocations: 5.062 kB / 0.677 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.4152, allocations: 49.59 kB / 0.677 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4153, allocations: 5.375 kB / 0.677 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.4155, allocations: 21.47 kB / 0.6771 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.4155, allocations: 3.281 kB / 0.6771 GB, free: 13.43 MB / 0.5137 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 (20): * Single equations (assignments): 20 * 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 0.0001856/0.4157, allocations: 167 kB / 0.6772 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/0.4157, allocations: 40.39 kB / 0.6773 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.914e-05/0.4158, allocations: 39.06 kB / 0.6773 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4158, allocations: 2 kB / 0.6773 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4158, allocations: 0.9062 kB / 0.6773 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4159, allocations: 7.984 kB / 0.6773 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.4163, allocations: 378 kB / 0.6777 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4163, allocations: 3.938 kB / 0.6777 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.4166, allocations: 50.19 kB / 0.6777 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.4166, allocations: 1.406 kB / 0.6777 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.4166, allocations: 9.156 kB / 0.6777 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4166, allocations: 7.984 kB / 0.6777 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4166, allocations: 1.406 kB / 0.6777 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.4173, allocations: 377.4 kB / 0.6781 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.4174, allocations: 124.4 kB / 0.6782 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.4175, allocations: 5.469 kB / 0.6782 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.4176, allocations: 8.359 kB / 0.6782 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.4177, allocations: 13.2 kB / 0.6782 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.4177, allocations: 2.719 kB / 0.6783 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003983/0.4181, allocations: 310.8 kB / 0.6785 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4181, allocations: 0 / 0.6785 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000349/0.4185, allocations: 71.52 kB / 0.6786 GB, free: 12.25 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.001124/0.4196, allocations: 0.9226 MB / 0.6795 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003986/0.42, allocations: 142.5 kB / 0.6797 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.42, allocations: 0 / 0.6797 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.4202, allocations: 80.77 kB / 0.6797 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.4208, allocations: 95.3 kB / 0.6798 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/0.4259, allocations: 3.503 MB / 0.6832 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.4264, allocations: 0.7979 MB / 0.684 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.4266, allocations: 33.59 kB / 0.6841 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.4268, allocations: 121 kB / 0.6842 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.4268, allocations: 0 / 0.6842 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.4617, allocations: 7.987 MB / 0.692 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.266/8.728, allocations: 8.297 kB / 0.692 GB, free: 4.258 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)