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.002831/0.002831, allocations: 180.9 kB / 7.65 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 1.667/1.667, allocations: 133.5 MB / 141.6 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.277/3.277, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.001403/0.001403, allocations: 94.42 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.384e-05/5.334e-05, allocations: 4 kB / 0.5536 GB, free: 8.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125/1.125, allocations: 82.3 MB / 0.634 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.353/1.478, allocations: 121.3 MB / 0.7524 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005715/1.479, allocations: 111.9 kB / 0.7525 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1023/1.581, allocations: 21.93 MB / 0.7739 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.809e-06/1.581, allocations: 0 / 0.7739 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.676e-05/1.581, allocations: 12 kB / 0.7739 GB, free: 11.31 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.003434/1.585, allocations: 0.7554 MB / 0.7746 GB, free: 10.51 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001011/1.585, allocations: 12.03 kB / 0.7747 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003444/1.585, allocations: 79.06 kB / 0.7747 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/1.587, allocations: 439 kB / 0.7752 GB, free: 9.949 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/1.587, allocations: 12 kB / 0.7752 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/1.587, allocations: 31.91 kB / 0.7752 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001125/1.588, allocations: 306.6 kB / 0.7755 GB, free: 9.605 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/1.589, allocations: 339.9 kB / 0.7758 GB, free: 9.27 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/1.589, allocations: 0 / 0.7758 GB, free: 9.27 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/1.59, allocations: 0 / 0.7758 GB, free: 9.27 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/1.59, allocations: 12 kB / 0.7758 GB, free: 9.258 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004567/1.594, allocations: 1.441 MB / 0.7772 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00092/1.595, allocations: 310.9 kB / 0.7775 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007598/1.596, allocations: 282.3 kB / 0.7778 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/1.596, allocations: 4 kB / 0.7778 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.932e-05/1.596, allocations: 38.56 kB / 0.7778 GB, free: 7.109 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 7.504e-06/1.596, allocations: 0 / 0.7778 GB, free: 7.109 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.001096/1.597, allocations: 317.3 kB / 0.7781 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.702e-05/1.597, allocations: 55.41 kB / 0.7782 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/1.598, allocations: 373.3 kB / 0.7785 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/1.598, allocations: 25.7 kB / 0.7786 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005035/1.599, allocations: 272.2 kB / 0.7788 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/1.599, allocations: 141.9 kB / 0.779 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/1.599, allocations: 0 / 0.779 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004089/1.6, allocations: 358.8 kB / 0.7793 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/1.6, allocations: 96.75 kB / 0.7794 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/1.6, allocations: 100.9 kB / 0.7795 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/1.601, allocations: 121.8 kB / 0.7796 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.601, allocations: 0 / 0.7796 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009276/1.602, allocations: 340.9 kB / 0.7799 GB, free: 4.906 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/1.602, allocations: 8 kB / 0.7799 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.602, allocations: 0 / 0.7799 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/1.602, allocations: 0.7656 kB / 0.7799 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008814/1.603, allocations: 127.9 kB / 0.7801 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/1.603, allocations: 3.938 kB / 0.7801 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/1.603, allocations: 39.75 kB / 0.7801 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/1.603, allocations: 8 kB / 0.7801 GB, free: 4.723 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.0002028/1.603, allocations: 116.9 kB / 0.7802 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000843/1.604, allocations: 305 kB / 0.7805 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/1.604, allocations: 51.38 kB / 0.7806 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/1.605, allocations: 56.95 kB / 0.7806 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/1.605, allocations: 4 kB / 0.7806 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/1.605, allocations: 0 / 0.7806 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/1.605, allocations: 7.891 kB / 0.7806 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/1.606, allocations: 0.4976 MB / 0.7811 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/1.606, allocations: 0 / 0.7811 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008333/1.607, allocations: 127.9 kB / 0.7812 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/1.607, allocations: 4 kB / 0.7812 GB, free: 3.512 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/1.607, allocations: 0 / 0.7812 GB, free: 3.512 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/1.607, allocations: 4 kB / 0.7813 GB, free: 3.508 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.607, allocations: 0 / 0.7813 GB, free: 3.508 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/1.608, allocations: 0.561 MB / 0.7818 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/1.608, allocations: 136.5 kB / 0.7819 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/1.609, allocations: 4 kB / 0.7819 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/1.609, allocations: 23.89 kB / 0.782 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/1.609, allocations: 27.73 kB / 0.782 GB, free: 2.723 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/1.609, allocations: 8 kB / 0.782 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006584/1.61, allocations: 299 kB / 0.7823 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/1.61, allocations: 0 / 0.7823 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009357/1.611, allocations: 139.5 kB / 0.7824 GB, free: 2.289 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.002657/1.613, allocations: 1.278 MB / 0.7837 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008035/1.614, allocations: 276 kB / 0.7839 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.614, allocations: 4 kB / 0.7839 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000363/1.615, allocations: 151.7 kB / 0.7841 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/1.616, allocations: 83.98 kB / 0.7841 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/1.62, allocations: 0.9837 MB / 0.7851 GB, free: 15.46 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009384/1.621, allocations: 0.8782 MB / 0.786 GB, free: 14.55 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003713/1.621, allocations: 51.36 kB / 0.786 GB, free: 14.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004423/1.622, allocations: 195.4 kB / 0.7862 GB, free: 14.31 MB / 0.573 GB Notification: Performance of SimCode: time 1.533e-06/1.622, allocations: 0 / 0.7862 GB, free: 14.31 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05858/1.68, allocations: 9.331 MB / 0.7953 GB, free: 5.074 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003868/1.681, allocations: 199.8 kB / 0.7955 GB, free: 4.812 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.296/5.977, allocations: 1.031 kB / 0.7955 GB, free: 4.812 MB / 0.573 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)