Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.0017/0.0017, 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.00208/0.00208, allocations: 194.3 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002131, allocations: 302.4 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9472/0.9472, allocations: 169.3 MB / 0.4982 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 96.3 kB / 0.5954 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1299, allocations: 86.98 MB / 0.6803 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.0025/0.1325, allocations: 1.409 MB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004118/0.1366, allocations: 2.843 MB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.1367, allocations: 0 / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.1367, allocations: 3.938 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.1368, allocations: 20.59 kB / 0.6845 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.1405, allocations: 1.564 MB / 0.6861 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.542e-05/0.1406, allocations: 39.73 kB / 0.6861 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.1407, allocations: 8 kB / 0.6861 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.355e-05/0.1407, allocations: 7.938 kB / 0.6861 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.71e-05/0.1407, allocations: 15.92 kB / 0.6861 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.1407, allocations: 4 kB / 0.6861 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.1428, allocations: 1.423 MB / 0.6875 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.1428, allocations: 7.984 kB / 0.6875 GB, free: 9.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.1428, allocations: 19.88 kB / 0.6875 GB, free: 9.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.1443, allocations: 1.068 MB / 0.6886 GB, free: 8.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1444, allocations: 4 kB / 0.6886 GB, free: 8.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1444, allocations: 0 / 0.6886 GB, free: 8.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1444, allocations: 0 / 0.6886 GB, free: 8.086 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.0006328/0.145, allocations: 0.5107 MB / 0.6891 GB, free: 7.527 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.145, allocations: 8.031 kB / 0.6891 GB, free: 7.52 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.1451, allocations: 110 kB / 0.6892 GB, free: 7.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.1452, allocations: 84.12 kB / 0.6893 GB, free: 7.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.1453, allocations: 257.4 kB / 0.6895 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.1454, allocations: 150.9 kB / 0.6897 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.1454, allocations: 154.9 kB / 0.6898 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.114e-05/0.1455, allocations: 112.9 kB / 0.6899 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.1455, allocations: 75.28 kB / 0.69 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.1456, allocations: 154.6 kB / 0.6901 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/0.1456, allocations: 150.6 kB / 0.6903 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.078e-05/0.1457, allocations: 150.6 kB / 0.6904 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.146, allocations: 465.9 kB / 0.6909 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.675e-05/0.1461, allocations: 181 kB / 0.691 GB, free: 5.398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.1461, allocations: 88.12 kB / 0.6911 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.1461, allocations: 83.22 kB / 0.6912 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.1462, allocations: 105.8 kB / 0.6913 GB, free: 5.113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1462, allocations: 3.938 kB / 0.6913 GB, free: 5.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.112e-05/0.1463, allocations: 33.55 kB / 0.6913 GB, free: 5.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.1463, allocations: 130.7 kB / 0.6915 GB, free: 4.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1465, allocations: 136.3 kB / 0.6916 GB, free: 4.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1465, allocations: 25.7 kB / 0.6916 GB, free: 4.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.1465, allocations: 88.05 kB / 0.6917 GB, free: 4.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.1465, allocations: 0 / 0.6917 GB, free: 4.668 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.1466, allocations: 25.7 kB / 0.6917 GB, free: 4.637 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.1467, allocations: 310.8 kB / 0.692 GB, free: 4.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.1467, allocations: 8 kB / 0.692 GB, free: 4.316 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.1467, allocations: 7.984 kB / 0.692 GB, free: 4.309 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.406e-05/0.1468, allocations: 12.89 kB / 0.6921 GB, free: 4.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1468, allocations: 0 / 0.6921 GB, free: 4.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001183/0.1469, allocations: 49.58 kB / 0.6921 GB, free: 4.238 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1469, allocations: 8 kB / 0.6921 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.147, allocations: 3.984 kB / 0.6921 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.147, allocations: 0 / 0.6921 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.147, allocations: 0 / 0.6921 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.147, allocations: 4 kB / 0.6921 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.147, allocations: 3.906 kB / 0.6921 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.147, allocations: 0 / 0.6921 GB, free: 4.219 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 8.23e-05/0.1471, allocations: 189.8 kB / 0.6923 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.1472, allocations: 108.9 kB / 0.6924 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.1472, allocations: 116.8 kB / 0.6925 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.822e-05/0.1473, allocations: 176.3 kB / 0.6927 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-05/0.1474, allocations: 176.3 kB / 0.6929 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-05/0.1474, allocations: 192.2 kB / 0.693 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.1477, allocations: 413.2 kB / 0.6934 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.234e-05/0.1477, allocations: 108.9 kB / 0.6935 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.1477, allocations: 105 kB / 0.6936 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.328e-05/0.1478, allocations: 180.2 kB / 0.6938 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/0.1479, allocations: 184.3 kB / 0.694 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.888e-05/0.1479, allocations: 180.3 kB / 0.6942 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.847e-05/0.148, allocations: 184.2 kB / 0.6943 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.1481, allocations: 315.6 kB / 0.6946 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.1482, allocations: 186 kB / 0.6948 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.1483, allocations: 188.2 kB / 0.695 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.1484, allocations: 108.9 kB / 0.6951 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.1484, allocations: 180.2 kB / 0.6953 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.1485, allocations: 104.9 kB / 0.6954 GB, free: 0.668 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.05e-05/0.1485, allocations: 99.27 kB / 0.6955 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1485, allocations: 0 / 0.6955 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007076/0.1493, allocations: 275.8 kB / 0.6957 GB, free: 308 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.001362/0.1506, allocations: 1.152 MB / 0.6969 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.1507, allocations: 37.69 kB / 0.6969 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1507, allocations: 11.94 kB / 0.6969 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.1508, allocations: 0 / 0.6969 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.1511, allocations: 460.7 kB / 0.6973 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.1526, allocations: 1.581 MB / 0.6989 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.1529, allocations: 0.6844 MB / 0.6996 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.522e-05/0.1529, allocations: 0 / 0.6996 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.1529, allocations: 20.17 kB / 0.6996 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.1529, allocations: 0 / 0.6996 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3269/0.4798, allocations: 6.879 MB / 0.7063 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.641/10.12, allocations: 12.38 kB / 0.7063 GB, free: 5.547 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)