Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.001039/0.001039, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8071/0.8071, allocations: 133.6 MB / 141.6 MB, free: 2.82 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.000991/0.0009913, allocations: 98.09 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.611e-05/2.612e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4784, allocations: 82.3 MB / 0.634 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.6353, allocations: 121.3 MB / 0.7524 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.6356, allocations: 115.9 kB / 0.7525 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.06163/0.6973, allocations: 21.93 MB / 0.7739 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6973, allocations: 0 / 0.7739 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.6974, allocations: 12 kB / 0.7739 GB, free: 11.26 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.001462/0.6988, allocations: 0.7652 MB / 0.7747 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.6989, allocations: 11.97 kB / 0.7747 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.6991, allocations: 75.06 kB / 0.7747 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/0.6999, allocations: 435 kB / 0.7752 GB, free: 9.895 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.7, allocations: 16 kB / 0.7752 GB, free: 9.879 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.7, allocations: 28 kB / 0.7752 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006603/0.7007, allocations: 306.6 kB / 0.7755 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006961/0.7014, allocations: 332 kB / 0.7758 GB, free: 9.223 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.7014, allocations: 3.906 kB / 0.7758 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.7015, allocations: 0 / 0.7758 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.7015, allocations: 16 kB / 0.7758 GB, free: 9.203 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.704, allocations: 1.449 MB / 0.7772 GB, free: 7.691 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.7044, allocations: 303 kB / 0.7775 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.7049, allocations: 276.5 kB / 0.7778 GB, free: 7.109 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.7049, allocations: 8 kB / 0.7778 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.7049, allocations: 34.56 kB / 0.7778 GB, free: 7.059 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 2.816e-06/0.7049, allocations: 0 / 0.7778 GB, free: 7.059 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.0005958/0.7055, allocations: 317.3 kB / 0.7781 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.7056, allocations: 59.41 kB / 0.7782 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/0.7062, allocations: 369.3 kB / 0.7785 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.7063, allocations: 25.7 kB / 0.7786 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.7065, allocations: 272.2 kB / 0.7788 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.7067, allocations: 141.8 kB / 0.779 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.7067, allocations: 0 / 0.779 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.7069, allocations: 358.8 kB / 0.7793 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.7071, allocations: 96.75 kB / 0.7794 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.7072, allocations: 104.9 kB / 0.7795 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.7075, allocations: 121.8 kB / 0.7796 GB, free: 5.191 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7075, allocations: 0 / 0.7796 GB, free: 5.191 MB / 0.5573 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005539/0.708, allocations: 333 kB / 0.7799 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.7081, allocations: 8 kB / 0.7799 GB, free: 4.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.7081, allocations: 0.7656 kB / 0.7799 GB, free: 4.852 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.7081, allocations: 0 / 0.7799 GB, free: 4.852 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/0.7086, allocations: 131.8 kB / 0.7801 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.7086, allocations: 0 / 0.7801 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.7089, allocations: 39.77 kB / 0.7801 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.709, allocations: 8 kB / 0.7801 GB, free: 4.676 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 () * 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.0001239/0.7091, allocations: 116.9 kB / 0.7802 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005264/0.7097, allocations: 312.9 kB / 0.7805 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-05/0.7098, allocations: 47.44 kB / 0.7806 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.7099, allocations: 56.95 kB / 0.7806 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.7099, allocations: 4 kB / 0.7806 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.7099, allocations: 0 / 0.7806 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.7099, allocations: 7.891 kB / 0.7806 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007978/0.7107, allocations: 0.4937 MB / 0.7811 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7108, allocations: 0 / 0.7811 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.7113, allocations: 127.9 kB / 0.7812 GB, free: 3.469 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.7113, allocations: 4 kB / 0.7812 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.7114, allocations: 4 kB / 0.7812 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.7114, allocations: 3.938 kB / 0.7812 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7114, allocations: 0 / 0.7812 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.7122, allocations: 0.561 MB / 0.7818 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.7124, allocations: 136.5 kB / 0.7819 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.084e-05/0.7125, allocations: 3.984 kB / 0.7819 GB, free: 2.723 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.7127, allocations: 23.89 kB / 0.782 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.7128, allocations: 31.73 kB / 0.782 GB, free: 2.668 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.7128, allocations: 4 kB / 0.782 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003685/0.7132, allocations: 299 kB / 0.7823 GB, free: 2.375 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7132, allocations: 0 / 0.7823 GB, free: 2.375 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005074/0.7137, allocations: 139.5 kB / 0.7824 GB, free: 2.238 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 () * 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.001493/0.7152, allocations: 1.266 MB / 0.7836 GB, free: 0.9531 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004832/0.7157, allocations: 280 kB / 0.7839 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7157, allocations: 0 / 0.7839 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.716, allocations: 159.6 kB / 0.7841 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.7165, allocations: 83.98 kB / 0.7841 GB, free: 456 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.7187, allocations: 0.988 MB / 0.7851 GB, free: 15.41 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.7193, allocations: 0.8821 MB / 0.786 GB, free: 14.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002008/0.7195, allocations: 43.38 kB / 0.786 GB, free: 14.46 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.7198, allocations: 199.4 kB / 0.7862 GB, free: 14.26 MB / 0.573 GB Notification: Performance of SimCode: time 2.6e-07/0.7198, allocations: 0 / 0.7862 GB, free: 14.26 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.7538, allocations: 9.332 MB / 0.7953 GB, free: 5.023 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.7541, allocations: 201.2 kB / 0.7955 GB, free: 4.828 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/3.076, allocations: 0 / 0.7955 GB, free: 4.828 MB / 0.573 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)