Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.001505/0.001505, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001695, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002187/0.002187, allocations: 294.8 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9463/0.9463, allocations: 169.3 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 106.2 kB / 0.5954 GB, free: 27.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1279, allocations: 86.98 MB / 0.6803 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002345/0.1303, allocations: 1.405 MB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.1342, allocations: 2.853 MB / 0.6845 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.1342, allocations: 0 / 0.6845 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.1343, allocations: 3.938 kB / 0.6845 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.302e-05/0.1343, allocations: 15.86 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.1378, allocations: 1.556 MB / 0.686 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.204e-05/0.1379, allocations: 43.75 kB / 0.6861 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.345e-05/0.1379, allocations: 0 / 0.6861 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.696e-05/0.1379, allocations: 15.92 kB / 0.6861 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.58e-05/0.138, allocations: 15.94 kB / 0.6861 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.138, allocations: 0 / 0.6861 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.1398, allocations: 1.427 MB / 0.6875 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.1399, allocations: 11.98 kB / 0.6875 GB, free: 9.195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.1399, allocations: 11.88 kB / 0.6875 GB, free: 9.184 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.1412, allocations: 1.068 MB / 0.6886 GB, free: 8.113 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1412, allocations: 4 kB / 0.6886 GB, free: 8.109 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1412, allocations: 0 / 0.6886 GB, free: 8.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1413, allocations: 4 kB / 0.6886 GB, free: 8.105 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000594/0.1419, allocations: 0.5185 MB / 0.6891 GB, free: 7.539 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1419, allocations: 8.031 kB / 0.6891 GB, free: 7.531 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.142, allocations: 110 kB / 0.6892 GB, free: 7.414 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.142, allocations: 84.12 kB / 0.6893 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1422, allocations: 245.5 kB / 0.6895 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.109e-05/0.1423, allocations: 154.9 kB / 0.6897 GB, free: 6.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.249e-05/0.1423, allocations: 154.9 kB / 0.6898 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.717e-05/0.1424, allocations: 112.9 kB / 0.6899 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.1424, allocations: 75.28 kB / 0.69 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.1425, allocations: 150.6 kB / 0.6901 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.695e-05/0.1426, allocations: 154.6 kB / 0.6903 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.083e-05/0.1426, allocations: 158.5 kB / 0.6904 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.143, allocations: 461.9 kB / 0.6909 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.236e-05/0.1431, allocations: 173.1 kB / 0.691 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.1431, allocations: 84.14 kB / 0.6911 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.1432, allocations: 79.22 kB / 0.6912 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.1432, allocations: 117.8 kB / 0.6913 GB, free: 5.133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.863e-06/0.1432, allocations: 3.938 kB / 0.6913 GB, free: 5.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.456e-05/0.1433, allocations: 33.59 kB / 0.6913 GB, free: 5.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1434, allocations: 126.7 kB / 0.6915 GB, free: 4.953 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.1435, allocations: 131.9 kB / 0.6916 GB, free: 4.816 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.1435, allocations: 29.7 kB / 0.6916 GB, free: 4.781 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.1436, allocations: 96.03 kB / 0.6917 GB, free: 4.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.1436, allocations: 3.938 kB / 0.6917 GB, free: 4.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.1436, allocations: 13.72 kB / 0.6917 GB, free: 4.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.1437, allocations: 318.8 kB / 0.692 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.1437, allocations: 4 kB / 0.692 GB, free: 4.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.1437, allocations: 3.984 kB / 0.692 GB, free: 4.332 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.1438, allocations: 20.8 kB / 0.6921 GB, free: 4.309 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1438, allocations: 4.031 kB / 0.6921 GB, free: 4.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001131/0.1439, allocations: 45.64 kB / 0.6921 GB, free: 4.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1439, allocations: 4 kB / 0.6921 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.144, allocations: 7.984 kB / 0.6921 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.144, allocations: 0 / 0.6921 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.144, allocations: 0 / 0.6921 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.144, allocations: 0 / 0.6921 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.27e-05/0.144, allocations: 7.906 kB / 0.6921 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.144, allocations: 0 / 0.6921 GB, free: 4.234 MB / 494.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.36e-05/0.1441, allocations: 185.8 kB / 0.6923 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.1442, allocations: 112.9 kB / 0.6924 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.1442, allocations: 116.8 kB / 0.6925 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.631e-05/0.1443, allocations: 176.3 kB / 0.6927 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.614e-05/0.1443, allocations: 180.2 kB / 0.6929 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.391e-05/0.1444, allocations: 176.3 kB / 0.693 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1445, allocations: 421.1 kB / 0.6934 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.938e-05/0.1446, allocations: 109 kB / 0.6935 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.1446, allocations: 108.9 kB / 0.6936 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.777e-05/0.1447, allocations: 180.3 kB / 0.6938 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.1447, allocations: 176.3 kB / 0.694 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.764e-05/0.1448, allocations: 184.2 kB / 0.6942 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.35e-05/0.1448, allocations: 184.2 kB / 0.6943 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.1449, allocations: 319.6 kB / 0.6946 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.145, allocations: 182 kB / 0.6948 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.71e-05/0.1451, allocations: 192.1 kB / 0.695 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.1451, allocations: 105 kB / 0.6951 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.1452, allocations: 184.2 kB / 0.6953 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.1452, allocations: 101 kB / 0.6954 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.128e-05/0.1453, allocations: 95.27 kB / 0.6955 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1453, allocations: 0 / 0.6955 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006664/0.146, allocations: 279.8 kB / 0.6957 GB, free: 328 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.00118/0.1471, allocations: 1.152 MB / 0.6968 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.576e-05/0.1472, allocations: 45.62 kB / 0.6969 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1473, allocations: 3.938 kB / 0.6969 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.1473, allocations: 4.062 kB / 0.6969 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.1476, allocations: 462.2 kB / 0.6973 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1488, allocations: 1.576 MB / 0.6989 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.149, allocations: 0.6844 MB / 0.6995 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.176e-05/0.149, allocations: 0 / 0.6995 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.149, allocations: 19.42 kB / 0.6996 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1491, allocations: 0 / 0.6996 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2036/0.3526, allocations: 6.862 MB / 0.7063 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/8.066, allocations: 12.98 kB / 0.7063 GB, free: 5.582 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)