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.001204/0.001204, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001231/0.001231, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.246/1.246, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6947/0.6947, allocations: 132.2 MB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 63.33 kB / 0.5014 GB, free: 8.969 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1328, allocations: 80.19 MB / 0.5797 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003878/0.1367, allocations: 3.069 MB / 0.5827 GB, free: 5.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002698/0.1395, allocations: 2.114 MB / 0.5848 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.1397, allocations: 4 kB / 0.5848 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.1411, allocations: 470.1 kB / 0.5852 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.1413, allocations: 139.1 kB / 0.5854 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001159/0.1415, allocations: 47.97 kB / 0.5854 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000429/0.1419, allocations: 453.9 kB / 0.5858 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.1421, allocations: 155.2 kB / 0.586 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.1423, allocations: 155.4 kB / 0.5861 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.1425, allocations: 191.1 kB / 0.5863 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.1426, allocations: 36 kB / 0.5864 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.1426, allocations: 32 kB / 0.5864 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1428, allocations: 95.67 kB / 0.5865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.1429, allocations: 222.9 kB / 0.5867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.1433, allocations: 0.5411 MB / 0.5872 GB, free: 1.277 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1434, allocations: 3.984 kB / 0.5872 GB, free: 1.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1434, allocations: 0 / 0.5872 GB, free: 1.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1434, allocations: 0 / 0.5872 GB, free: 1.273 MB / 494.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.0008715/0.1443, allocations: 0.7006 MB / 0.5879 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1443, allocations: 8.031 kB / 0.5879 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.1443, allocations: 54.73 kB / 0.588 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.1444, allocations: 48.38 kB / 0.588 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.1448, allocations: 374.1 kB / 0.5884 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.1448, allocations: 20.88 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.1449, allocations: 27.92 kB / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.1452, allocations: 199.2 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1453, allocations: 0 / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.1453, allocations: 12 kB / 0.5886 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1453, allocations: 4 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.1456, allocations: 161.6 kB / 0.5888 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009829/0.1466, allocations: 0.8623 MB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.1469, allocations: 161.1 kB / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.1471, allocations: 116.8 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.1471, allocations: 4 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.1472, allocations: 34.5 kB / 0.5899 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.1472, allocations: 4 kB / 0.5899 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005281/0.1477, allocations: 259.3 kB / 0.5902 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.1478, allocations: 51.41 kB / 0.5902 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/0.1481, allocations: 417.7 kB / 0.5906 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1482, allocations: 29.7 kB / 0.5906 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1483, allocations: 204.3 kB / 0.5908 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/0.1484, allocations: 67.03 kB / 0.5909 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.1484, allocations: 33.72 kB / 0.5909 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1485, allocations: 346.8 kB / 0.5913 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1487, allocations: 63.95 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1488, allocations: 58.33 kB / 0.5914 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.1491, allocations: 136.7 kB / 0.5915 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1491, allocations: 4 kB / 0.5915 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003317/0.1494, allocations: 210.9 kB / 0.5917 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1494, allocations: 15.92 kB / 0.5917 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1494, allocations: 3.984 kB / 0.5917 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1495, allocations: 0 / 0.5917 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.1497, allocations: 47.97 kB / 0.5918 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1497, allocations: 4 kB / 0.5918 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.1499, allocations: 31.73 kB / 0.5918 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1499, allocations: 4 kB / 0.5918 GB, free: 12.3 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.0001308/0.15, allocations: 166.4 kB / 0.592 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.1501, allocations: 35.56 kB / 0.592 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.407e-05/0.1501, allocations: 39.59 kB / 0.592 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1502, allocations: 4 kB / 0.5921 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1502, allocations: 0 / 0.5921 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1502, allocations: 0 / 0.5921 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.1505, allocations: 377.3 kB / 0.5924 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1505, allocations: 0 / 0.5924 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.1508, allocations: 63.78 kB / 0.5925 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1508, allocations: 4 kB / 0.5925 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1508, allocations: 0 / 0.5925 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1508, allocations: 0 / 0.5925 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1508, allocations: 0 / 0.5925 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.1514, allocations: 381.4 kB / 0.5928 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.1515, allocations: 128.5 kB / 0.593 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.1515, allocations: 0 / 0.593 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.1517, allocations: 15.98 kB / 0.593 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.1517, allocations: 7.984 kB / 0.593 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1517, allocations: 8 kB / 0.593 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002712/0.152, allocations: 303.1 kB / 0.5933 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.152, allocations: 4.062 kB / 0.5933 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002768/0.1523, allocations: 71.84 kB / 0.5934 GB, free: 10.64 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.0007462/0.153, allocations: 0.9189 MB / 0.5943 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.1534, allocations: 153.5 kB / 0.5944 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.1534, allocations: 0 / 0.5944 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.1536, allocations: 79.89 kB / 0.5945 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.1541, allocations: 88.5 kB / 0.5946 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.1584, allocations: 3.643 MB / 0.5981 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.1588, allocations: 0.7951 MB / 0.5989 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.1589, allocations: 38.95 kB / 0.5989 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.1591, allocations: 119.4 kB / 0.599 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1591, allocations: 0 / 0.599 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.216/1.375, allocations: 7.674 MB / 0.6065 GB, free: 55.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/1.375, allocations: 258.7 kB / 0.6068 GB, free: 55.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/3.495, allocations: 2.875 kB / 0.6068 GB, free: 55.45 MB / 0.4981 GB (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/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)