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_TwoUTube.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_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.008504/0.008504, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.00236/0.00236, allocations: 193.2 kB / 16.67 MB, free: 5.949 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 286.9 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9119/0.9119, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 99.89 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1473, allocations: 86.98 MB / 0.766 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002263/0.1496, allocations: 1.358 MB / 0.7673 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002704/0.1523, allocations: 1.799 MB / 0.7691 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.1524, allocations: 8 kB / 0.7691 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.934e-05/0.1525, allocations: 7.922 kB / 0.7691 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.1527, allocations: 27.89 kB / 0.7691 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.1553, allocations: 1.144 MB / 0.7702 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.1554, allocations: 51.77 kB / 0.7703 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.1555, allocations: 11.94 kB / 0.7703 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.1555, allocations: 27.84 kB / 0.7703 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.1556, allocations: 31.91 kB / 0.7703 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1556, allocations: 0 / 0.7703 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.1569, allocations: 0.8852 MB / 0.7712 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.467e-05/0.157, allocations: 67.8 kB / 0.7713 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.871e-05/0.1571, allocations: 75.3 kB / 0.7713 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.1584, allocations: 0.8691 MB / 0.7722 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1584, allocations: 4 kB / 0.7722 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.085e-06/0.1584, allocations: 0 / 0.7722 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.1584, allocations: 3.938 kB / 0.7722 GB, free: 2.477 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008448/0.1592, allocations: 0.58 MB / 0.7728 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1593, allocations: 16.02 kB / 0.7728 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.754e-05/0.1594, allocations: 38.75 kB / 0.7728 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.1594, allocations: 24.56 kB / 0.7728 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1596, allocations: 230.7 kB / 0.7731 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1597, allocations: 384 / 0.7731 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.1597, allocations: 4.375 kB / 0.7731 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1598, allocations: 105.6 kB / 0.7732 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1599, allocations: 0 / 0.7732 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.1599, allocations: 0 / 0.7732 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1599, allocations: 4 kB / 0.7732 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.501e-05/0.16, allocations: 75.95 kB / 0.7732 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.1603, allocations: 273.9 kB / 0.7735 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.1604, allocations: 122.5 kB / 0.7736 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.1605, allocations: 112.8 kB / 0.7737 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.1605, allocations: 7.922 kB / 0.7737 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1606, allocations: 30.56 kB / 0.7738 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.1606, allocations: 0 / 0.7738 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.000406/0.161, allocations: 335.6 kB / 0.7741 GB, free: 380 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.161, allocations: 55.39 kB / 0.7741 GB, free: 312 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.1613, allocations: 257 kB / 0.7744 GB, free: 48 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1613, allocations: 29.64 kB / 0.7744 GB, free: 12 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.3121/0.4734, allocations: 127 kB / 0.7745 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.862e-05/0.4736, allocations: 97.89 kB / 0.7746 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.4736, allocations: 27.34 kB / 0.7747 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.4737, allocations: 345.3 kB / 0.775 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.4738, allocations: 70.34 kB / 0.775 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.457e-05/0.4739, allocations: 76.22 kB / 0.7751 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.4741, allocations: 199.5 kB / 0.7753 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4742, allocations: 0.8438 kB / 0.7753 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003102/0.4745, allocations: 225.5 kB / 0.7755 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.4745, allocations: 6.109 kB / 0.7755 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.4745, allocations: 1.531 kB / 0.7755 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.4746, allocations: 2.906 kB / 0.7755 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.074e-06/0.4746, allocations: 5.812 kB / 0.7755 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4746, allocations: 2.719 kB / 0.7755 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.4746, allocations: 12.8 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4747, allocations: 1.719 kB / 0.7756 GB, free: 14.36 MB / 0.5606 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 (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 0.0001169/0.4748, allocations: 160.7 kB / 0.7757 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.4748, allocations: 24.5 kB / 0.7757 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.4751, allocations: 254.7 kB / 0.776 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4751, allocations: 5.031 kB / 0.776 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4751, allocations: 3.344 kB / 0.776 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4752, allocations: 0.5625 kB / 0.776 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.4754, allocations: 278.3 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4754, allocations: 3.469 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.4754, allocations: 1.219 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4754, allocations: 0.7969 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.4754, allocations: 1.188 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4754, allocations: 5.094 kB / 0.7763 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4754, allocations: 2.375 kB / 0.7763 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.4757, allocations: 267.2 kB / 0.7765 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.4757, allocations: 104.1 kB / 0.7766 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.4757, allocations: 5.141 kB / 0.7766 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.439e-05/0.4758, allocations: 3.938 kB / 0.7766 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.4758, allocations: 1.891 kB / 0.7766 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.4758, allocations: 0.625 kB / 0.7766 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001513/0.476, allocations: 189.7 kB / 0.7768 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.476, allocations: 0 / 0.7768 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006419/0.4766, allocations: 212.8 kB / 0.777 GB, free: 13.69 MB / 0.5606 GB 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.0009861/0.4776, allocations: 1.024 MB / 0.778 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002838/0.4779, allocations: 264.4 kB / 0.7783 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4779, allocations: 0.7812 kB / 0.7783 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.4781, allocations: 180.5 kB / 0.7784 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.4783, allocations: 22.14 kB / 0.7785 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.4805, allocations: 2.572 MB / 0.781 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.4807, allocations: 0.7679 MB / 0.7817 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.811e-05/0.4807, allocations: 1.703 kB / 0.7817 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.4808, allocations: 59.94 kB / 0.7818 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.4808, allocations: 6.594 kB / 0.7818 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.5046, allocations: 7.77 MB / 0.7894 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.238, allocations: 8.688 kB / 0.7894 GB, free: 10.11 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)