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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.006177/0.006177, allocations: 171.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8358/0.8358, 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.729/1.729, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.0009791/0.0009794, allocations: 90.17 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003848, allocations: 15.98 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4457, allocations: 82.3 MB / 0.6496 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.5962, allocations: 119.8 MB / 0.7666 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.5965, allocations: 115.9 kB / 0.7667 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04681/0.6434, allocations: 18.21 MB / 0.7845 GB, free: 9.695 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.186e-06/0.6434, allocations: 4 kB / 0.7845 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.6434, allocations: 11.94 kB / 0.7845 GB, free: 9.68 MB / 0.5573 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.0008737/0.6443, allocations: 0.6502 MB / 0.7851 GB, free: 8.98 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6444, allocations: 12.03 kB / 0.7852 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.307e-05/0.6444, allocations: 58.53 kB / 0.7852 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.6445, allocations: 47.73 kB / 0.7853 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.645, allocations: 353.2 kB / 0.7856 GB, free: 8.473 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.645, allocations: 12.44 kB / 0.7856 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.6451, allocations: 27.91 kB / 0.7856 GB, free: 8.434 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.6454, allocations: 207.2 kB / 0.7858 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.6455, allocations: 4 kB / 0.7858 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.6455, allocations: 8 kB / 0.7858 GB, free: 8.215 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.6455, allocations: 7.938 kB / 0.7859 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.6459, allocations: 177.6 kB / 0.786 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.647, allocations: 0.8741 MB / 0.7869 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.6473, allocations: 158.6 kB / 0.787 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.6473, allocations: 4 kB / 0.787 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.6473, allocations: 34.56 kB / 0.7871 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.6473, allocations: 0 / 0.7871 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.0005522/0.6479, allocations: 266.8 kB / 0.7873 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.6479, allocations: 59.39 kB / 0.7874 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.6483, allocations: 372.8 kB / 0.7877 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.6483, allocations: 29.7 kB / 0.7878 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.6485, allocations: 200.2 kB / 0.7879 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.6485, allocations: 70.94 kB / 0.788 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.6486, allocations: 4 kB / 0.788 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6487, allocations: 350.8 kB / 0.7884 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.6488, allocations: 59.97 kB / 0.7884 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.649, allocations: 62.16 kB / 0.7885 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.6491, allocations: 67.98 kB / 0.7885 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6491, allocations: 0 / 0.7885 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003603/0.6495, allocations: 219 kB / 0.7887 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.6495, allocations: 4 kB / 0.7887 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6495, allocations: 4 kB / 0.7888 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6496, allocations: 0 / 0.7888 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.6498, allocations: 59.95 kB / 0.7888 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.6498, allocations: 0 / 0.7888 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.65, allocations: 31.73 kB / 0.7888 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.65, allocations: 4 kB / 0.7888 GB, free: 5.004 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.6502, allocations: 166.1 kB / 0.789 GB, free: 4.832 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.6502, allocations: 35.61 kB / 0.789 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/0.6503, allocations: 43.59 kB / 0.7891 GB, free: 4.75 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.6503, allocations: 4 kB / 0.7891 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6503, allocations: 0 / 0.7891 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6503, allocations: 0 / 0.7891 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.6507, allocations: 385.2 kB / 0.7894 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.6507, allocations: 0 / 0.7894 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.651, allocations: 59.91 kB / 0.7895 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.651, allocations: 0 / 0.7895 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.651, allocations: 4 kB / 0.7895 GB, free: 4.258 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6511, allocations: 8 kB / 0.7895 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6511, allocations: 0 / 0.7895 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.6516, allocations: 395.8 kB / 0.7899 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.6518, allocations: 120.7 kB / 0.79 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.6518, allocations: 3.938 kB / 0.79 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.652, allocations: 15.98 kB / 0.79 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.652, allocations: 11.98 kB / 0.79 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.6521, allocations: 8 kB / 0.79 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003102/0.6524, allocations: 299.2 kB / 0.7903 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.774e-06/0.6524, allocations: 4 kB / 0.7903 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000379/0.6528, allocations: 87.78 kB / 0.7904 GB, free: 3.293 MB / 0.5573 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 (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.001079/0.6539, allocations: 1.083 MB / 0.7915 GB, free: 2.199 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.6542, allocations: 159.5 kB / 0.7916 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6542, allocations: 4 kB / 0.7916 GB, free: 2.043 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.6544, allocations: 83.89 kB / 0.7917 GB, free: 1.961 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.6549, allocations: 85.39 kB / 0.7918 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2871/0.942, allocations: 2.177 MB / 0.7939 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.9424, allocations: 0.8038 MB / 0.7947 GB, free: 132 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002041/0.9426, allocations: 36.33 kB / 0.7947 GB, free: 132 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.9428, allocations: 117.5 kB / 0.7949 GB, free: 132 MB / 0.5573 GB Notification: Performance of SimCode: time 1.593e-06/0.9429, allocations: 0 / 0.7949 GB, free: 132 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2403/1.183, allocations: 9.205 MB / 0.8038 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/1.184, allocations: 241 kB / 0.8041 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.569, allocations: 0 / 0.8041 GB, free: 131.3 MB / 0.5573 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/linux/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)