Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001172/0.001172, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001323/0.001323, allocations: 195.7 kB / 16.14 MB, free: 6.707 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7429/0.7429, allocations: 132.2 MB / 422.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.5 kB / 0.5012 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.37, allocations: 80.19 MB / 0.5795 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004284/0.3744, allocations: 3.074 MB / 0.5825 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.3771, allocations: 2.114 MB / 0.5846 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.3776, allocations: 4.625 kB / 0.5846 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.3792, allocations: 482.2 kB / 0.5851 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003639/0.3796, allocations: 130 kB / 0.5852 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.3797, allocations: 53.25 kB / 0.5852 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004286/0.3802, allocations: 467.8 kB / 0.5857 GB, free: 352 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.3804, allocations: 145.2 kB / 0.5858 GB, free: 264 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.3806, allocations: 140.8 kB / 0.586 GB, free: 200 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.3808, allocations: 186.1 kB / 0.5861 GB, free: 108 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.3808, allocations: 22.38 kB / 0.5862 GB, free: 108 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.413e-05/0.3809, allocations: 23.84 kB / 0.5862 GB, free: 108 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.381, allocations: 83.53 kB / 0.5863 GB, free: 64 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.3812, allocations: 206.2 kB / 0.5865 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.3818, allocations: 0.531 MB / 0.587 GB, free: 15.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3818, allocations: 0 / 0.587 GB, free: 15.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.3818, allocations: 1.125 kB / 0.587 GB, free: 15.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3818, allocations: 4 kB / 0.587 GB, free: 15.75 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001019/0.3828, allocations: 0.6984 MB / 0.5877 GB, free: 15.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3829, allocations: 9.562 kB / 0.5877 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.588e-05/0.383, allocations: 54.25 kB / 0.5877 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.622e-05/0.383, allocations: 50.2 kB / 0.5878 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.3835, allocations: 377.5 kB / 0.5881 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.3835, allocations: 16.78 kB / 0.5881 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.3836, allocations: 25.44 kB / 0.5882 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.384, allocations: 203.7 kB / 0.5884 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.384, allocations: 1.609 kB / 0.5884 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.3841, allocations: 6.094 kB / 0.5884 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3841, allocations: 5.031 kB / 0.5884 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.3845, allocations: 168.6 kB / 0.5885 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.3857, allocations: 0.8627 MB / 0.5894 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.386, allocations: 157.7 kB / 0.5895 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.3862, allocations: 108.4 kB / 0.5896 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.3863, allocations: 2.406 kB / 0.5896 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.3863, allocations: 44.41 kB / 0.5897 GB, free: 13.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.3863, allocations: 0 / 0.5897 GB, free: 13.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006078/0.3869, allocations: 254.8 kB / 0.5899 GB, free: 13.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.387, allocations: 53.94 kB / 0.59 GB, free: 13.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.3875, allocations: 417.8 kB / 0.5904 GB, free: 13.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3875, allocations: 26.67 kB / 0.5904 GB, free: 13.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3877, allocations: 215.9 kB / 0.5906 GB, free: 13.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.72e-05/0.3877, allocations: 68.23 kB / 0.5907 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.3878, allocations: 38.3 kB / 0.5907 GB, free: 13.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3879, allocations: 343.6 kB / 0.591 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.3881, allocations: 56.97 kB / 0.5911 GB, free: 12.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.3882, allocations: 62.03 kB / 0.5911 GB, free: 12.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.3885, allocations: 137.6 kB / 0.5913 GB, free: 12.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3885, allocations: 0 / 0.5913 GB, free: 12.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004047/0.389, allocations: 212.3 kB / 0.5915 GB, free: 12.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.389, allocations: 5.781 kB / 0.5915 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.389, allocations: 1.375 kB / 0.5915 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.389, allocations: 0 / 0.5915 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.3893, allocations: 51.47 kB / 0.5915 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.3893, allocations: 4.609 kB / 0.5915 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.3895, allocations: 25 kB / 0.5916 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3895, allocations: 4 kB / 0.5916 GB, free: 12.62 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 (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.0001564/0.3896, allocations: 165.8 kB / 0.5917 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.3897, allocations: 36.78 kB / 0.5918 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.585e-05/0.3898, allocations: 40.94 kB / 0.5918 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.3898, allocations: 2.406 kB / 0.5918 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3898, allocations: 4 kB / 0.5918 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3898, allocations: 5.531 kB / 0.5918 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.3903, allocations: 379.1 kB / 0.5922 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3903, allocations: 1.469 kB / 0.5922 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.3906, allocations: 57.8 kB / 0.5922 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3906, allocations: 1.031 kB / 0.5922 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.3906, allocations: 6.234 kB / 0.5922 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3906, allocations: 0.7188 kB / 0.5922 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3906, allocations: 1.219 kB / 0.5922 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.3913, allocations: 381.7 kB / 0.5926 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.84e-05/0.3914, allocations: 123.2 kB / 0.5927 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.3914, allocations: 5.375 kB / 0.5927 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.3916, allocations: 9.281 kB / 0.5927 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.3916, allocations: 17.8 kB / 0.5928 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.3917, allocations: 3.312 kB / 0.5928 GB, free: 11.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003568/0.392, allocations: 300.1 kB / 0.593 GB, free: 11.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.392, allocations: 0 / 0.593 GB, free: 11.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.3924, allocations: 76.56 kB / 0.5931 GB, free: 11.61 MB / 446.1 MB 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.0008509/0.3932, allocations: 0.9208 MB / 0.594 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.3936, allocations: 142.5 kB / 0.5941 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3936, allocations: 3.938 kB / 0.5942 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.3937, allocations: 79 kB / 0.5942 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.3944, allocations: 84.39 kB / 0.5943 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004791/0.3992, allocations: 3.641 MB / 0.5979 GB, free: 8.469 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3995, allocations: 0.7947 MB / 0.5986 GB, free: 7.766 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.3997, allocations: 30.45 kB / 0.5987 GB, free: 7.762 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.3999, allocations: 118.7 kB / 0.5988 GB, free: 7.672 MB / 446.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3999, allocations: 0 / 0.5988 GB, free: 7.672 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.853/3.253, allocations: 7.473 MB / 0.6061 GB, free: 4.34 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003278/3.254, allocations: 263.6 kB / 0.6063 GB, free: 4.066 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/5.45, allocations: 6.031 kB / 0.6063 GB, free: 4.066 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)