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.001003/0.001003, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001065/0.001065, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.263/1.263, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8667/0.8667, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 64.5 kB / 0.5048 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1312, allocations: 80.93 MB / 0.5838 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003804/0.1351, allocations: 3.055 MB / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.1375, allocations: 2.11 MB / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.1376, allocations: 8 kB / 0.5889 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.1388, allocations: 477.2 kB / 0.5894 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.139, allocations: 131.1 kB / 0.5895 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.1391, allocations: 55.95 kB / 0.5895 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.1396, allocations: 465.8 kB / 0.59 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.1398, allocations: 135.9 kB / 0.5901 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.14, allocations: 151.3 kB / 0.5903 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.1402, allocations: 179.1 kB / 0.5904 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.1402, allocations: 28 kB / 0.5905 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.572e-05/0.1403, allocations: 24 kB / 0.5905 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.092e-05/0.1404, allocations: 79.67 kB / 0.5905 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.1406, allocations: 214.8 kB / 0.5908 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.141, allocations: 0.5371 MB / 0.5913 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.141, allocations: 0 / 0.5913 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.91e-07/0.141, allocations: 0 / 0.5913 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.141, allocations: 0 / 0.5913 GB, free: 13.23 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.0009344/0.1419, allocations: 0.6967 MB / 0.592 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.142, allocations: 8.031 kB / 0.592 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.53e-05/0.1421, allocations: 58.72 kB / 0.592 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.334e-05/0.1421, allocations: 44.38 kB / 0.5921 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.1426, allocations: 374.1 kB / 0.5924 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1426, allocations: 16.81 kB / 0.5924 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.1426, allocations: 27.88 kB / 0.5925 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/0.143, allocations: 203.3 kB / 0.5927 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.143, allocations: 0 / 0.5927 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.143, allocations: 12 kB / 0.5927 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1431, allocations: 4 kB / 0.5927 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.1434, allocations: 157.7 kB / 0.5928 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.1445, allocations: 0.874 MB / 0.5937 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.1448, allocations: 150.6 kB / 0.5938 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.1451, allocations: 120.7 kB / 0.5939 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1451, allocations: 4 kB / 0.5939 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1451, allocations: 38.44 kB / 0.594 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.1451, allocations: 0 / 0.594 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005814/0.1457, allocations: 259.6 kB / 0.5942 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.1457, allocations: 55.41 kB / 0.5943 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004436/0.1462, allocations: 413.7 kB / 0.5947 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1462, allocations: 29.7 kB / 0.5947 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1464, allocations: 204.3 kB / 0.5949 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.1464, allocations: 63.05 kB / 0.595 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.1465, allocations: 33.7 kB / 0.595 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1466, allocations: 350.8 kB / 0.5953 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1468, allocations: 55.97 kB / 0.5954 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.1469, allocations: 55.97 kB / 0.5954 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.1472, allocations: 142.7 kB / 0.5956 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1472, allocations: 3.938 kB / 0.5956 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003586/0.1476, allocations: 207.1 kB / 0.5958 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1476, allocations: 4 kB / 0.5958 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1476, allocations: 3.938 kB / 0.5958 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1476, allocations: 0 / 0.5958 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.1479, allocations: 55.97 kB / 0.5958 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1479, allocations: 3.938 kB / 0.5958 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.148, allocations: 19.83 kB / 0.5958 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1481, allocations: 12 kB / 0.5959 GB, free: 8.281 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.0001461/0.1482, allocations: 161.8 kB / 0.596 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.1483, allocations: 39.47 kB / 0.5961 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.836e-05/0.1483, allocations: 43.58 kB / 0.5961 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1484, allocations: 4 kB / 0.5961 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1484, allocations: 0 / 0.5961 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1484, allocations: 0 / 0.5961 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.1488, allocations: 369.3 kB / 0.5965 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1488, allocations: 0 / 0.5965 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.149, allocations: 67.83 kB / 0.5965 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.149, allocations: 3.984 kB / 0.5965 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1491, allocations: 4 kB / 0.5965 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1491, allocations: 0 / 0.5965 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1491, allocations: 0 / 0.5965 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.1496, allocations: 382.8 kB / 0.5969 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.504e-05/0.1497, allocations: 120.6 kB / 0.597 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.1498, allocations: 7.984 kB / 0.597 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.15, allocations: 15.91 kB / 0.597 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.15, allocations: 7.984 kB / 0.597 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.15, allocations: 8 kB / 0.597 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002986/0.1503, allocations: 311.1 kB / 0.5973 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1503, allocations: 0 / 0.5973 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002832/0.1506, allocations: 75.91 kB / 0.5974 GB, free: 6.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.0008167/0.1514, allocations: 0.9174 MB / 0.5983 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003249/0.1518, allocations: 144 kB / 0.5984 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1518, allocations: 0 / 0.5984 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.1519, allocations: 75.91 kB / 0.5985 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005969/0.1526, allocations: 92.22 kB / 0.5986 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.1569, allocations: 3.638 MB / 0.6022 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1572, allocations: 0.7953 MB / 0.6029 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.1573, allocations: 34.97 kB / 0.603 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.1575, allocations: 115.4 kB / 0.6031 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1575, allocations: 3.938 kB / 0.6031 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2272/0.3848, allocations: 7.491 MB / 0.6104 GB, free: 51.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.385, allocations: 269.2 kB / 0.6107 GB, free: 51.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.141, allocations: 0 / 0.6107 GB, free: 51.03 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)