Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.001492/0.001492, 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.001673/0.001673, allocations: 194 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.337/1.337, 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.002128/0.002128, allocations: 282.8 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9198/0.9198, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 102.9 kB / 0.5954 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.13, allocations: 86.98 MB / 0.6804 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.00237/0.1324, allocations: 1.366 MB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.135, allocations: 1.775 MB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.135, allocations: 5.625 kB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.643e-05/0.1351, allocations: 11.92 kB / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.1352, allocations: 23.84 kB / 0.6835 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.1377, allocations: 1.145 MB / 0.6846 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.628e-05/0.1378, allocations: 51.77 kB / 0.6846 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.1378, allocations: 4.281 kB / 0.6846 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.848e-05/0.1379, allocations: 23.91 kB / 0.6847 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.1379, allocations: 23.86 kB / 0.6847 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.138, allocations: 4 kB / 0.6847 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.139, allocations: 0.854 MB / 0.6855 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.1391, allocations: 23.92 kB / 0.6855 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.1391, allocations: 27.8 kB / 0.6856 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008966/0.14, allocations: 0.7991 MB / 0.6863 GB, free: 10.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.14, allocations: 3.938 kB / 0.6863 GB, free: 10.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.14, allocations: 0 / 0.6863 GB, free: 10.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1401, allocations: 0 / 0.6863 GB, free: 10.38 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000509/0.1406, allocations: 474.9 kB / 0.6868 GB, free: 9.863 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1406, allocations: 12.02 kB / 0.6868 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.753e-05/0.1406, allocations: 34.75 kB / 0.6868 GB, free: 9.809 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.1407, allocations: 8.844 kB / 0.6869 GB, free: 9.801 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.1408, allocations: 185.8 kB / 0.687 GB, free: 9.582 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.1408, allocations: 8.062 kB / 0.687 GB, free: 9.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-06/0.1409, allocations: 0 / 0.687 GB, free: 9.574 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.189e-05/0.1409, allocations: 57.67 kB / 0.6871 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.141, allocations: 3.938 kB / 0.6871 GB, free: 9.508 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.141, allocations: 4 kB / 0.6871 GB, free: 9.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.141, allocations: 0 / 0.6871 GB, free: 9.504 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.321e-05/0.141, allocations: 23.98 kB / 0.6871 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.1412, allocations: 189.7 kB / 0.6873 GB, free: 9.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.562e-05/0.1412, allocations: 54.52 kB / 0.6874 GB, free: 9.184 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.1413, allocations: 28.97 kB / 0.6874 GB, free: 9.152 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1413, allocations: 7.969 kB / 0.6874 GB, free: 9.145 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.1413, allocations: 34.56 kB / 0.6874 GB, free: 9.102 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.1413, allocations: 0 / 0.6874 GB, free: 9.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001734/0.1415, allocations: 113.6 kB / 0.6875 GB, free: 8.984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.1416, allocations: 59.44 kB / 0.6876 GB, free: 8.914 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.1417, allocations: 153.6 kB / 0.6877 GB, free: 8.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1417, allocations: 25.7 kB / 0.6878 GB, free: 8.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.017e-05/0.1417, allocations: 96.12 kB / 0.6878 GB, free: 8.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1418, allocations: 27.56 kB / 0.6879 GB, free: 8.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.1418, allocations: 25.64 kB / 0.6879 GB, free: 8.562 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.464e-05/0.1419, allocations: 330.7 kB / 0.6882 GB, free: 8.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/0.1419, allocations: 20 kB / 0.6882 GB, free: 8.211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.547e-05/0.142, allocations: 27.98 kB / 0.6883 GB, free: 8.184 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.958e-05/0.142, allocations: 65.12 kB / 0.6883 GB, free: 8.117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.142, allocations: 0 / 0.6883 GB, free: 8.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.895e-05/0.1422, allocations: 93.58 kB / 0.6884 GB, free: 8.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.1422, allocations: 4 kB / 0.6884 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1422, allocations: 4 kB / 0.6884 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.1422, allocations: 0 / 0.6884 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.1422, allocations: 0 / 0.6884 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.1422, allocations: 0 / 0.6884 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.1422, allocations: 4.062 kB / 0.6884 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1423, allocations: 3.938 kB / 0.6884 GB, free: 8.004 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.597e-05/0.1423, allocations: 126.4 kB / 0.6885 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.1424, allocations: 7.906 kB / 0.6886 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.1425, allocations: 110.2 kB / 0.6887 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1425, allocations: 11.98 kB / 0.6887 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1425, allocations: 0 / 0.6887 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.1425, allocations: 3.938 kB / 0.6887 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.1426, allocations: 193.6 kB / 0.6889 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1427, allocations: 4.031 kB / 0.6889 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1427, allocations: 0 / 0.6889 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1427, allocations: 0 / 0.6889 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.1427, allocations: 0 / 0.6889 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1427, allocations: 4 kB / 0.6889 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1427, allocations: 0 / 0.6889 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.1428, allocations: 120.9 kB / 0.689 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.1429, allocations: 85 kB / 0.6891 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1429, allocations: 8.031 kB / 0.6891 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.1429, allocations: 0 / 0.6891 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-06/0.1429, allocations: 0 / 0.6891 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1429, allocations: 0 / 0.6891 GB, free: 7.242 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.389e-05/0.143, allocations: 119.2 kB / 0.6892 GB, free: 7.125 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.143, allocations: 0 / 0.6892 GB, free: 7.125 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004822/0.1435, allocations: 203.9 kB / 0.6894 GB, free: 6.926 MB / 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 (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 Backend phase and start with SimCode phase: time 0.0008819/0.1444, allocations: 0.8931 MB / 0.6903 GB, free: 6.004 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.1445, allocations: 93.67 kB / 0.6903 GB, free: 5.906 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1445, allocations: 3.938 kB / 0.6903 GB, free: 5.902 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.1446, allocations: 69.67 kB / 0.6904 GB, free: 5.828 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.1448, allocations: 20.88 kB / 0.6904 GB, free: 5.809 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.1461, allocations: 1.595 MB / 0.692 GB, free: 4.137 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.1463, allocations: 0.7002 MB / 0.6927 GB, free: 3.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.015e-05/0.1463, allocations: 11.97 kB / 0.6927 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.1464, allocations: 23.42 kB / 0.6927 GB, free: 3.375 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1464, allocations: 0 / 0.6927 GB, free: 3.375 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.044/1.19, allocations: 5.952 MB / 0.6985 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.532/10.72, allocations: 12.39 kB / 0.6985 GB, free: 13.62 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)