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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000769/0.000769, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.004725/0.004725, allocations: 172.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8662/0.8662, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 8 kB / 0.5077 GB, free: 4.602 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 82.3 MB / 0.5881 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002718/0.1336, allocations: 2.691 MB / 0.5907 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.1358, allocations: 2.075 MB / 0.5928 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1359, allocations: 11.94 kB / 0.5928 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.1371, allocations: 478 kB / 0.5932 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.1373, allocations: 127.1 kB / 0.5934 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.1374, allocations: 55.95 kB / 0.5934 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004493/0.1379, allocations: 465.9 kB / 0.5939 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.1381, allocations: 131.9 kB / 0.594 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.1383, allocations: 135.3 kB / 0.5941 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1385, allocations: 171.2 kB / 0.5943 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.1385, allocations: 20 kB / 0.5943 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.819e-05/0.1386, allocations: 16 kB / 0.5943 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.191e-05/0.1387, allocations: 83.61 kB / 0.5944 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.1388, allocations: 212.7 kB / 0.5946 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.1392, allocations: 0.5291 MB / 0.5951 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1392, allocations: 0 / 0.5951 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1392, allocations: 0 / 0.5951 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1393, allocations: 8 kB / 0.5951 GB, free: 11.25 MB / 0.4981 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.0007875/0.14, allocations: 0.6423 MB / 0.5957 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1401, allocations: 12.03 kB / 0.5957 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.1401, allocations: 58.67 kB / 0.5958 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.1402, allocations: 44.47 kB / 0.5958 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.1406, allocations: 370.1 kB / 0.5962 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1406, allocations: 16.81 kB / 0.5962 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.1407, allocations: 27.92 kB / 0.5962 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.1411, allocations: 203.3 kB / 0.5964 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1411, allocations: 7.906 kB / 0.5964 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.1411, allocations: 12 kB / 0.5965 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.1411, allocations: 4 kB / 0.5965 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.1415, allocations: 173.6 kB / 0.5966 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1425, allocations: 0.8702 MB / 0.5975 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.1428, allocations: 166.4 kB / 0.5976 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.1431, allocations: 124.4 kB / 0.5978 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.1431, allocations: 8 kB / 0.5978 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.1431, allocations: 34.5 kB / 0.5978 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.1431, allocations: 0 / 0.5978 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005695/0.1437, allocations: 269.5 kB / 0.598 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.1437, allocations: 51.41 kB / 0.5981 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.1442, allocations: 421.6 kB / 0.5985 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1442, allocations: 29.7 kB / 0.5985 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1443, allocations: 196.3 kB / 0.5987 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.1444, allocations: 78.92 kB / 0.5988 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.1444, allocations: 17.72 kB / 0.5988 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1445, allocations: 350.8 kB / 0.5991 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.1447, allocations: 59.97 kB / 0.5992 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1448, allocations: 65.86 kB / 0.5993 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.1451, allocations: 151.2 kB / 0.5994 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1451, allocations: 0 / 0.5994 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003739/0.1455, allocations: 213.1 kB / 0.5996 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1455, allocations: 8 kB / 0.5996 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1456, allocations: 0 / 0.5996 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1456, allocations: 3.938 kB / 0.5996 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.1458, allocations: 63.89 kB / 0.5997 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1458, allocations: 4 kB / 0.5997 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.146, allocations: 19.84 kB / 0.5997 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.146, allocations: 11.98 kB / 0.5997 GB, free: 6.285 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.1462, allocations: 169.7 kB / 0.5999 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.1462, allocations: 35.56 kB / 0.5999 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/0.1463, allocations: 43.58 kB / 0.6 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1463, allocations: 0 / 0.6 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1463, allocations: 0 / 0.6 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1463, allocations: 0 / 0.6 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.1467, allocations: 373.3 kB / 0.6003 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1467, allocations: 0 / 0.6003 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.1469, allocations: 63.89 kB / 0.6004 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.147, allocations: 0 / 0.6004 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.147, allocations: 4 kB / 0.6004 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.147, allocations: 0 / 0.6004 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.147, allocations: 8 kB / 0.6004 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.1476, allocations: 396.7 kB / 0.6008 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.1477, allocations: 124.5 kB / 0.6009 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.1477, allocations: 4 kB / 0.6009 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.1479, allocations: 16.06 kB / 0.6009 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.1479, allocations: 15.97 kB / 0.6009 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1479, allocations: 0 / 0.6009 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002908/0.1482, allocations: 303.2 kB / 0.6012 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1482, allocations: 0 / 0.6012 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002854/0.1485, allocations: 71.84 kB / 0.6013 GB, free: 4.594 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008135/0.1494, allocations: 0.9409 MB / 0.6022 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003396/0.1497, allocations: 157.8 kB / 0.6023 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1497, allocations: 0 / 0.6023 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1499, allocations: 83.91 kB / 0.6024 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.1504, allocations: 91.17 kB / 0.6025 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2381/0.3886, allocations: 3.724 MB / 0.6061 GB, free: 48.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.3888, allocations: 0.7958 MB / 0.6069 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.389, allocations: 33.67 kB / 0.607 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.3892, allocations: 119 kB / 0.6071 GB, free: 47.33 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.3892, allocations: 0 / 0.6071 GB, free: 47.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5056/0.8948, allocations: 7.371 MB / 0.6143 GB, free: 46.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.895, allocations: 260.9 kB / 0.6145 GB, free: 46.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.627, allocations: 3.562 kB / 0.6145 GB, free: 46.64 MB / 0.4981 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/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)