Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.009722/0.009722, allocations: 169.5 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 1.064/1.064, allocations: 135.2 MB / 151 MB, free: 13.84 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.537/1.537, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.0009068/0.0009068, allocations: 91.19 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005023, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3671, allocations: 82.31 MB / 0.6496 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2054/0.5725, allocations: 122 MB / 0.7687 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003993/0.573, allocations: 111.9 kB / 0.7688 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0792/0.6522, allocations: 22.19 MB / 0.7905 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.557e-06/0.6522, allocations: 0 / 0.7905 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.556e-05/0.6523, allocations: 12 kB / 0.7905 GB, free: 3.594 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001995/0.6543, allocations: 0.8488 MB / 0.7913 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.625e-05/0.6544, allocations: 8.031 kB / 0.7913 GB, free: 2.688 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.6546, allocations: 94.52 kB / 0.7914 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.6548, allocations: 75.09 kB / 0.7915 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009712/0.6557, allocations: 436.7 kB / 0.7919 GB, free: 2.043 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.92e-05/0.6558, allocations: 37 kB / 0.7919 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.6559, allocations: 44 kB / 0.792 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.6571, allocations: 434.4 kB / 0.7924 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.6572, allocations: 0 / 0.7924 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.165e-05/0.6572, allocations: 16 kB / 0.7924 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.6573, allocations: 12 kB / 0.7924 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.6584, allocations: 379.8 kB / 0.7928 GB, free: 1.137 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5099/1.168, allocations: 1.536 MB / 0.7943 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007352/1.169, allocations: 348.4 kB / 0.7946 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/1.169, allocations: 4.188 kB / 0.7946 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/1.169, allocations: 39.36 kB / 0.7947 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 2.956e-06/1.169, allocations: 0.75 kB / 0.7947 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.001112/1.17, allocations: 0.5016 MB / 0.7951 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/1.17, allocations: 56.7 kB / 0.7952 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006101/1.171, allocations: 429.4 kB / 0.7956 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/1.171, allocations: 33.3 kB / 0.7956 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/1.171, allocations: 275.9 kB / 0.7959 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/1.171, allocations: 148.2 kB / 0.796 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/1.171, allocations: 7.156 kB / 0.796 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.171, allocations: 364.7 kB / 0.7964 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/1.172, allocations: 120.6 kB / 0.7965 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/1.172, allocations: 132.2 kB / 0.7966 GB, free: 129 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/1.172, allocations: 144.1 kB / 0.7968 GB, free: 129 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.172, allocations: 2.906 kB / 0.7968 GB, free: 129 MB / 0.5573 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007291/1.173, allocations: 394.3 kB / 0.7972 GB, free: 129 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.173, allocations: 5.938 kB / 0.7972 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.173, allocations: 0.5625 kB / 0.7972 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/1.173, allocations: 5.375 kB / 0.7972 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/1.174, allocations: 131.3 kB / 0.7973 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/1.174, allocations: 1.75 kB / 0.7973 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/1.174, allocations: 55.12 kB / 0.7973 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/1.174, allocations: 11.53 kB / 0.7974 GB, free: 129 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 (46): * Single equations (assignments): 46 * 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.0002452/1.174, allocations: 193.4 kB / 0.7975 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.258e-05/1.174, allocations: 47.91 kB / 0.7976 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/1.174, allocations: 62.72 kB / 0.7976 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/1.174, allocations: 11.39 kB / 0.7977 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.175, allocations: 0.5156 kB / 0.7977 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.175, allocations: 2.812 kB / 0.7977 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008407/1.175, allocations: 0.5737 MB / 0.7982 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.175, allocations: 0 / 0.7982 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/1.176, allocations: 131.7 kB / 0.7983 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/1.176, allocations: 2.062 kB / 0.7983 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/1.176, allocations: 7.922 kB / 0.7984 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/1.176, allocations: 2.234 kB / 0.7984 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.176, allocations: 3.953 kB / 0.7984 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/1.177, allocations: 0.6667 MB / 0.799 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/1.177, allocations: 140.9 kB / 0.7991 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/1.177, allocations: 7 kB / 0.7992 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/1.178, allocations: 22.67 kB / 0.7992 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/1.178, allocations: 26.47 kB / 0.7992 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/1.178, allocations: 14.02 kB / 0.7992 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004886/1.178, allocations: 348.5 kB / 0.7995 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/1.178, allocations: 1.969 kB / 0.7995 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005675/1.179, allocations: 153.9 kB / 0.7997 GB, free: 128.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.001567/1.18, allocations: 1.365 MB / 0.801 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007039/1.181, allocations: 334.7 kB / 0.8013 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.181, allocations: 1.188 kB / 0.8013 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003351/1.181, allocations: 188.2 kB / 0.8015 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/1.182, allocations: 123.6 kB / 0.8016 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005947/1.188, allocations: 3.278 MB / 0.8048 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/1.188, allocations: 0.8813 MB / 0.8057 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000329/1.189, allocations: 56.19 kB / 0.8058 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/1.189, allocations: 196.4 kB / 0.8059 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of SimCode: time 5.65e-06/1.189, allocations: 0 / 0.8059 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/1.229, allocations: 12.36 MB / 0.818 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/1.229, allocations: 244.8 kB / 0.8183 GB, free: 124 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/3.574, allocations: 0 / 0.8183 GB, free: 124 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)