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.0007986/0.0007987, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0007917/0.0007917, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.727/0.727, allocations: 132.3 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 10.25 kB / 0.5035 GB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4351, allocations: 81.57 MB / 0.5832 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003054/0.4382, allocations: 2.586 MB / 0.5857 GB, free: 2.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.4408, allocations: 1.952 MB / 0.5876 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.4411, allocations: 5.938 kB / 0.5876 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.4424, allocations: 425.7 kB / 0.588 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.4427, allocations: 133.8 kB / 0.5882 GB, free: 476 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.4428, allocations: 33.92 kB / 0.5882 GB, free: 456 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005303/0.4434, allocations: 419.9 kB / 0.5886 GB, free: 248 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.4436, allocations: 110.8 kB / 0.5887 GB, free: 192 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.4439, allocations: 136.6 kB / 0.5888 GB, free: 132 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.4441, allocations: 155.2 kB / 0.589 GB, free: 64 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.4442, allocations: 22.5 kB / 0.589 GB, free: 60 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.205e-05/0.4443, allocations: 19 kB / 0.589 GB, free: 60 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.4444, allocations: 83.38 kB / 0.5891 GB, free: 16 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.4446, allocations: 111.6 kB / 0.5892 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006745/0.4452, allocations: 445.5 kB / 0.5896 GB, free: 15.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4453, allocations: 0 / 0.5896 GB, free: 15.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4453, allocations: 4.781 kB / 0.5896 GB, free: 15.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.4453, allocations: 0 / 0.5896 GB, free: 15.84 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.001102/0.4464, allocations: 0.6507 MB / 0.5903 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.4465, allocations: 10.38 kB / 0.5903 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.153e-05/0.4465, allocations: 54.73 kB / 0.5903 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.919e-05/0.4466, allocations: 49.39 kB / 0.5904 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.4471, allocations: 355.3 kB / 0.5907 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.4472, allocations: 24.91 kB / 0.5907 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.4472, allocations: 18.81 kB / 0.5908 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.4477, allocations: 203 kB / 0.591 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4477, allocations: 0 / 0.591 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.4477, allocations: 10.91 kB / 0.591 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.4478, allocations: 5.594 kB / 0.591 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004213/0.4482, allocations: 181.4 kB / 0.5911 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.4495, allocations: 0.872 MB / 0.592 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.4498, allocations: 159.8 kB / 0.5921 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.4501, allocations: 117.7 kB / 0.5923 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.4501, allocations: 1.969 kB / 0.5923 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.4501, allocations: 35.81 kB / 0.5923 GB, free: 13.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.243e-06/0.4501, allocations: 0.5 kB / 0.5923 GB, free: 13.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006656/0.4508, allocations: 273 kB / 0.5926 GB, free: 13.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.4509, allocations: 53.47 kB / 0.5926 GB, free: 13.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/0.4515, allocations: 419.6 kB / 0.593 GB, free: 13.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.4515, allocations: 30.64 kB / 0.593 GB, free: 13.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.4517, allocations: 203.8 kB / 0.5932 GB, free: 13.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.994e-05/0.4518, allocations: 63.41 kB / 0.5933 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.4518, allocations: 5.25 kB / 0.5933 GB, free: 13.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4519, allocations: 347.6 kB / 0.5936 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.4521, allocations: 65.12 kB / 0.5937 GB, free: 12.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.4523, allocations: 64.83 kB / 0.5937 GB, free: 12.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.4525, allocations: 65.44 kB / 0.5938 GB, free: 12.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4525, allocations: 0 / 0.5938 GB, free: 12.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004197/0.4529, allocations: 221.8 kB / 0.594 GB, free: 12.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4529, allocations: 5.906 kB / 0.594 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4529, allocations: 1.375 kB / 0.594 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.453, allocations: 0 / 0.594 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.4532, allocations: 58.38 kB / 0.5941 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4532, allocations: 0 / 0.5941 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.4534, allocations: 27.3 kB / 0.5941 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.4534, allocations: 8.25 kB / 0.5941 GB, free: 12.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.4536, allocations: 169.1 kB / 0.5943 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.4537, allocations: 37.3 kB / 0.5943 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.191e-05/0.4538, allocations: 43.95 kB / 0.5944 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4538, allocations: 2.984 kB / 0.5944 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4538, allocations: 4 kB / 0.5944 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4538, allocations: 6.516 kB / 0.5944 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.4543, allocations: 375 kB / 0.5947 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4543, allocations: 0 / 0.5947 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.4546, allocations: 57.7 kB / 0.5948 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4546, allocations: 1.516 kB / 0.5948 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.4546, allocations: 5.062 kB / 0.5948 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4546, allocations: 1.375 kB / 0.5948 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4546, allocations: 0.5156 kB / 0.5948 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006356/0.4553, allocations: 400.6 kB / 0.5952 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.4554, allocations: 115.3 kB / 0.5953 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.4555, allocations: 5.531 kB / 0.5953 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.4556, allocations: 15.7 kB / 0.5953 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.4557, allocations: 14.2 kB / 0.5953 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.4557, allocations: 3.562 kB / 0.5953 GB, free: 11.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003638/0.4561, allocations: 302.4 kB / 0.5956 GB, free: 11.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.39e-06/0.4561, allocations: 0 / 0.5956 GB, free: 11.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003389/0.4564, allocations: 75.88 kB / 0.5957 GB, free: 11.8 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 (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.0008792/0.4573, allocations: 0.9393 MB / 0.5966 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.4577, allocations: 148.5 kB / 0.5967 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4577, allocations: 4.062 kB / 0.5967 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.4578, allocations: 87.34 kB / 0.5968 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.4585, allocations: 91.23 kB / 0.5969 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.4622, allocations: 2.21 MB / 0.5991 GB, free: 9.758 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.4626, allocations: 0.7975 MB / 0.5999 GB, free: 9.051 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.4628, allocations: 39.52 kB / 0.5999 GB, free: 9.039 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.463, allocations: 114.3 kB / 0.6 GB, free: 8.953 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.463, allocations: 0 / 0.6 GB, free: 8.953 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.482, allocations: 7.166 MB / 0.607 GB, free: 5.758 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.4822, allocations: 242.8 kB / 0.6072 GB, free: 5.523 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.268, allocations: 0 / 0.6072 GB, free: 5.523 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/linux/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) Environment - environmentSimulation: